This project contains automated tests using Playwright for various web workflows.
tests/: Main tests organized by functionality.AutomatiostorePage/: Tests for https://automationteststore.com/login.spec.ts: Login test.email-already-registered.spec.ts: Registration test with an already-registered email.
example.spec.ts: Example Playwright tests.
tests-examples/: Additional test examples.demo-todo-app.spec.ts: Tests for the TodoMVC demo app.
playwright.config.ts: Playwright configuration file..github/workflows/playwright.yml: Continuous integration setup using GitHub Actions.playwright-report/: HTML reports generated by Playwright.test-results/: Test execution results..gitignore: Files and directories ignored by Git.package.json: Project dependencies and metadata.
- Clone the repository:
git clone <repository-url> cd Playwright_tests
- Install dependencies:
npm install
- Install Playwright browsers:
npx playwright install --with-deps
To run all tests:
npx playwright testTo run a specific test:
npx playwright test tests/AutomatiostorePage/login.spec.tsHTML reports are generated in the playwright-report/ folder.
Tests are automatically executed in GitHub Actions using the workflow defined in .github/workflows/playwright.yml.
Author:
This project was created for example automated testing purposes.