Skip to content

test: add Playwright smoke test for Pulsifi Talent App #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

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