playwright/installation-tests
Andrey Lushnikov 2c59985bcd
chore: refactor installation tests (#12054)
This patch refactors installation tests. With this
refactoring:

- each test is a separate file
- to run a single test, just run the bash file
  * tests support optional `--no-build` flag to re-use previously
    built packages.
  * tests support optional `--debug` flag to see line-by-line test output
  * failed tests print a line that can be copied-and-pasted locally
    to debug the test
- run all tests with `//installation-tests/run_all_tests.sh`
  * test output is hidden for successful runs when run locally and is
    shown when test fails
  * runs all tests, and reports failed tests in the end
  * command output is split into groups when viewed on Github.
2022-02-11 17:06:37 -08:00
..
.gitignore chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
download-chromedriver.js test: move grid tests to installation-tests (#10418) 2021-11-18 15:32:09 -08:00
driver-client.js chore: sort out base fixtures (#9809) 2021-10-27 08:28:53 -07:00
electron-app.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
esm-playwright-chromium.mjs fix(monorepo): explicitly list package.json exports instead of using glob patterns (#9584) 2021-10-19 12:28:02 -04:00
esm-playwright-firefox.mjs test: dont test for the errors file because we no longer export it (#9628) 2021-10-19 16:39:11 -07:00
esm-playwright-test.mjs test: dont test for the errors file because we no longer export it (#9628) 2021-10-19 16:39:11 -07:00
esm-playwright-webkit.mjs test: dont test for the errors file because we no longer export it (#9628) 2021-10-19 16:39:11 -07:00
esm-playwright.mjs test: dont test for the errors file because we no longer export it (#9628) 2021-10-19 16:39:11 -07:00
esm.mjs fix(monorepo): explicitly list package.json exports instead of using glob patterns (#9584) 2021-10-19 12:28:02 -04:00
failing.spec.js fix(expect): do not rely on displayName (#9523) 2021-10-14 19:23:45 -07:00
initialize_test.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
inspector-custom-executable.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
playwright-test-types.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
read-json-report.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
README.md chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
run_all_tests.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
sample.spec.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
sanity-electron.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
sanity.js fix(monorepo): export package.json from every package (#9803) 2021-10-26 18:41:18 -04:00
screencast.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
test_android_types.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_connect_to_selenium.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_electron_types.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_chromium_should_work.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_cli_codegen_should_work.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_cli_install_should_work.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_cli_screenshot_should_work.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_driver_should_work.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_electron_should_work.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_firefox_should_work.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_global_installation.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_global_installation_cross_package.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_global_installation_subsequent_installs.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_should_work.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_should_work_with_relative_browsers_path.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_should_work_with_relative_home_path.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_test_should_work.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_test_stacks_should_work.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_validate_dependencies.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_validate_dependencies_skip_executable_path.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_playwright_webkit_should_work.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_screencast.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_skip_browser_download.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_skip_browser_download_inspect_with_custom_executable.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
test_typescript_types.sh chore: refactor installation tests (#12054) 2022-02-11 17:06:37 -08:00
validate-dependencies-skip-executable-path.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
validate-dependencies.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00

Installation Tests

File installation-tests.sh tests that installation flow for all Playwright packages works as expected.