Skip to content

ixdlabs/e2e-ts-template

Repository files navigation

ts-playwright

Test by typing:

pnpm exec playwright test

Check out the following files:

  • ./tests/example.spec.ts - Example end-to-end test
  • ./tests-examples/demo-todo-app.spec.ts - Demo Todo App end-to-end tests
  • ./playwright.config.ts - Playwright Test configuration

Visit https://playwright.dev/docs/intro for more information. ✨

Other important commands:

pnpm exec playwright test
# Runs the end-to-end tests.

pnpm exec playwright test --ui
# Starts the interactive UI mode.

pnpm exec playwright test --project=chromium
# Runs the tests only on Desktop Chrome.

pnpm exec playwright test example
# Runs the tests in a specific file.

pnpm exec playwright test --debug
# Runs the tests in debug mode.

pnpm exec playwright codegen
# Auto generate tests with Codegen.

Happy hacking! 🎭

locst-testing

Install python dependencies in requirements.txt.

pip install -r requirements.txt

Create a copy of .env.example file with real server values. (The example is configured for keycloak based site testing)

To debug, you can use VS code debug task or run once using,

python -m tests.perf.locustfile --host

You can launch locust using

locust -f tests/perf/locustfile.py

About

E2E Testing templated based on playwright

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published