├── .env.example ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── question-or-help-wanted.md └── workflows │ └── playwright.yml ├── .gitignore ├── LICENSE ├── README.md ├── package.json ├── playwright.config.ts ├── tests-examples ├── demo-todo-app.spec.ts └── example.spec.ts └── tests ├── data ├── product-data.ts └── user-data.ts ├── setup ├── global-setup-pom.ts └── global-setup.ts ├── ui-pom ├── pages │ ├── cart-page.ts │ ├── checkout-complete.ts │ ├── checkout-step-one.ts │ ├── checkout-step-two.ts │ ├── footer-page.ts │ ├── header-page.ts │ ├── inventory-page.ts │ └── login-page.ts └── specs │ ├── checkout-pom.spec.ts │ ├── footer-pom.spec.ts │ ├── login-pom.spec.ts │ └── sort-pom.spec.ts ├── ui └── specs │ ├── checkout.spec.ts │ ├── footer.spec.ts │ ├── login-simple.spec.ts │ ├── login.spec.ts │ └── sort.spec.ts └── utils ├── footer-links.ts ├── messages.ts └── pages.ts /.env.example: -------------------------------------------------------------------------------- 1 | PASSWORD='happy_testing' -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question-or-help-wanted.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/.github/ISSUE_TEMPLATE/question-or-help-wanted.md -------------------------------------------------------------------------------- /.github/workflows/playwright.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/.github/workflows/playwright.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/package.json -------------------------------------------------------------------------------- /playwright.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/playwright.config.ts -------------------------------------------------------------------------------- /tests-examples/demo-todo-app.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests-examples/demo-todo-app.spec.ts -------------------------------------------------------------------------------- /tests-examples/example.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests-examples/example.spec.ts -------------------------------------------------------------------------------- /tests/data/product-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/data/product-data.ts -------------------------------------------------------------------------------- /tests/data/user-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/data/user-data.ts -------------------------------------------------------------------------------- /tests/setup/global-setup-pom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/setup/global-setup-pom.ts -------------------------------------------------------------------------------- /tests/setup/global-setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/setup/global-setup.ts -------------------------------------------------------------------------------- /tests/ui-pom/pages/cart-page.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui-pom/pages/cart-page.ts -------------------------------------------------------------------------------- /tests/ui-pom/pages/checkout-complete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui-pom/pages/checkout-complete.ts -------------------------------------------------------------------------------- /tests/ui-pom/pages/checkout-step-one.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui-pom/pages/checkout-step-one.ts -------------------------------------------------------------------------------- /tests/ui-pom/pages/checkout-step-two.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui-pom/pages/checkout-step-two.ts -------------------------------------------------------------------------------- /tests/ui-pom/pages/footer-page.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui-pom/pages/footer-page.ts -------------------------------------------------------------------------------- /tests/ui-pom/pages/header-page.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui-pom/pages/header-page.ts -------------------------------------------------------------------------------- /tests/ui-pom/pages/inventory-page.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui-pom/pages/inventory-page.ts -------------------------------------------------------------------------------- /tests/ui-pom/pages/login-page.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui-pom/pages/login-page.ts -------------------------------------------------------------------------------- /tests/ui-pom/specs/checkout-pom.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui-pom/specs/checkout-pom.spec.ts -------------------------------------------------------------------------------- /tests/ui-pom/specs/footer-pom.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui-pom/specs/footer-pom.spec.ts -------------------------------------------------------------------------------- /tests/ui-pom/specs/login-pom.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui-pom/specs/login-pom.spec.ts -------------------------------------------------------------------------------- /tests/ui-pom/specs/sort-pom.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui-pom/specs/sort-pom.spec.ts -------------------------------------------------------------------------------- /tests/ui/specs/checkout.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui/specs/checkout.spec.ts -------------------------------------------------------------------------------- /tests/ui/specs/footer.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui/specs/footer.spec.ts -------------------------------------------------------------------------------- /tests/ui/specs/login-simple.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui/specs/login-simple.spec.ts -------------------------------------------------------------------------------- /tests/ui/specs/login.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui/specs/login.spec.ts -------------------------------------------------------------------------------- /tests/ui/specs/sort.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/ui/specs/sort.spec.ts -------------------------------------------------------------------------------- /tests/utils/footer-links.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/utils/footer-links.ts -------------------------------------------------------------------------------- /tests/utils/messages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/utils/messages.ts -------------------------------------------------------------------------------- /tests/utils/pages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raptatinha/twr-playwright-demo-mtc/HEAD/tests/utils/pages.ts --------------------------------------------------------------------------------