Skip to content

testdino-hq/playwright-sample-tests-javascript

Repository files navigation

Ecommerce-demo-test-playwright

Automated end-to-end tests for Ecommerce Demo store using Playwright.


CI Status npm version install size MIT License

Project Structure

  • pages/ — Page Object Models
  • tests/ — Test specifications
  • playwright.config.js — Playwright configuration
  • playwright-report/ — HTML test reports
  • .github/workflows/test.yml — CI/CD pipeline

Prerequisites


Installation

npm install

Local Test Execution

Run all tests:

npx playwright test

View the HTML report:

npx playwright show-report

Testdino Integration

Testdino enables cloud-based Playwright reporting.

Local Execution

After your tests complete and the report is generated in playwright-report, upload it to Testdino:

Replace the token above with your own Testdino API key.

See all available commands:

npx tdpw --help

CI/CD Pipeline Integration

GitHub Actions

Add the following step to your workflow after tests and report generation:

Ensure your API key is correctly placed in the command.


Continuous Integration

Automated test runs and report merging are configured in .github/workflows/test.yml.


Contributing

Pull requests and issues are welcome!


License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors