Skip to content

Conversation

sirajvind
Copy link
Owner

Summary

This PR adds a Playwright-based smoke test for the Pulsifi Talent App.

Details

  • Adds a test to verify that the login page at https://staging-app.pulsifi.me loads successfully.
  • Checks for the correct page title and the presence of the 'Sign in to Pulsifi' text.
  • Ensures the app's basic accessibility and readiness for further testing.

How to run

  1. Install dependencies:
    npm install
    npx playwright install
  2. Run the test:
    npm run test

Please review and let me know if any changes are needed.

- Added a Playwright test to verify the login page loads and displays the expected elements on https://staging-app.pulsifi.me
- Ensures the title and sign-in text are present for smoke validation
…upport

- Added support for Chromium, Firefox, WebKit, and Microsoft Edge
- Enabled parallel execution and retries for CI
- Improved test reliability and reporting
…s and beforeEach setup

- Refactored test to use getByRole for Email, Password, and Log In fields
- Moved navigation and timeout setup to beforeEach for better structure
- Ensures consistent test initialization and improved reliability
… selectors

- Uses beforeEach for navigation and timeout
- Uses getByRole for Email, Password, and Log In fields
- Improves test structure and reliability
…rs and [email protected]

- Switched to getByPlaceholder for email and password fields
- Updated test email to [email protected]
- Cleaned up commented code for clarity
…login actions

- Added 1 minute wait before filling login fields to improve reliability on slow loads
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant