playwright-тесты сайта playwright
Рабочие команды:
Запуск тестов начальной страницы:
npx playwright test start-page.spec.ts
Дополнительные команды:
npx playwright test
Runs the end-to-end tests.
npx playwright test --ui
Starts the interactive UI mode.
npx playwright test --project=chromium
Runs the tests only on Desktop Chrome.
npx playwright test example
Runs the tests in a specific file.
npx playwright test --debug
Runs the tests in debug mode.
npx playwright codegen
Auto generate tests with Codegen.