Pulse/testing-tools
Pulse Monitor 76eba06031 Remove sensitive and personal information from codebase
- Replace personal email with generic test@example.com
- Replace production node names (delly, pimox) with generic examples
- Replace specific security tokens with placeholder values
- Update IP addresses to use localhost or generic examples
- Sanitize all testing files and documentation
2025-08-03 14:50:23 +00:00
..
check-saved-email.js Fix email notifications to work with empty recipients 2025-08-02 18:01:33 +00:00
check-status.js Improve mobile responsiveness and fix email notifications 2025-08-02 16:02:13 +00:00
check-ui-request.js Fix frontend email test field mapping 2025-08-02 18:15:03 +00:00
debug-email-save.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
debug-ui-email.js Fix UI test email to use saved config instead of form values 2025-08-02 19:51:53 +00:00
decrypt-check.js Fix email notifications to work with empty recipients 2025-08-02 18:01:33 +00:00
intercept-ui-request.js Fix frontend email test field mapping 2025-08-02 18:15:03 +00:00
monitor-email-send.js Fix email notifications to work with empty recipients 2025-08-02 18:01:33 +00:00
package-lock.json Improve mobile responsiveness and fix email notifications 2025-08-02 16:02:13 +00:00
package.json Fix alert acknowledgement and clean up codebase 2025-08-02 16:32:59 +00:00
README.md Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
save-user-password.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
test-alerts-api.js Fix alert acknowledgement and clean up codebase 2025-08-02 16:32:59 +00:00
test-api-endpoints.js Improve mobile responsiveness and fix email notifications 2025-08-02 16:02:13 +00:00
test-button-functionality.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
test-comprehensive.js Improve mobile responsiveness and fix email notifications 2025-08-02 16:02:13 +00:00
test-email-comprehensive.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
test-email-config.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
test-email-detailed.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
test-email-direct.js Fix email notifications to work with empty recipients 2025-08-02 18:01:33 +00:00
test-email-final.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
test-email-send.js Fix email notifications to work with empty recipients 2025-08-02 18:01:33 +00:00
test-final-verification.js Fix alert acknowledgement and clean up codebase 2025-08-02 16:32:59 +00:00
test-frontend-payload.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
test-mobile-dashboard.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
test-mobile-storage.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
test-no-config.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
test-save-with-password.js Fix email notifications to work with empty recipients 2025-08-02 18:01:33 +00:00
test-thresholds-alerts.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
test-ui-email.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
test-ui-integration.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
test-ui-manual.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
test-with-config.js Remove sensitive and personal information from codebase 2025-08-03 14:50:23 +00:00
trace-ui-test.js Fix UI test email to use saved config instead of form values 2025-08-02 19:51:53 +00:00

Pulse Testing Tools

This directory contains automated testing tools for the Pulse monitoring system.

Setup

cd /opt/pulse/testing-tools
npm install

Available Tests

1. Email Configuration Test

Tests email notification setup and persistence.

npm run test:email

2. API Endpoints Test

Tests all API endpoints for availability and correct responses.

npm run test:api

3. Button Functionality Test

Tests UI buttons and their actions using Playwright.

npm run test:buttons

4. Comprehensive Settings Test

Tests all major settings including thresholds, notifications, and encryption.

npm run test:comprehensive

5. Email Final Test

Comprehensive email functionality verification.

node test-email-final.js

6. UI Integration Test

Tests frontend-backend integration for email.

node test-ui-integration.js

7. Run All Tests

npm run test:all

Test Results

Tests will output:

  • PASS for successful tests
  • FAIL for failed tests
  • Summary statistics at the end

Screenshots

UI tests may create screenshot files:

  • email-config-page.png - Email configuration page
  • error-*.png - Error screenshots if tests fail

Notes

  • Tests run against http://localhost:3000 (backend) and http://localhost:7655 (frontend)
  • Playwright tests run in headless mode by default
  • All tests are non-destructive and clean up after themselves