playwright/installation-tests
Andrey Lushnikov 9bce817a92
chore: improve installation tests (#12092)
* chore: improve installation tests

- all helper scripts and files are moved to `fixture-scripts`
  subfolder.
- `./run_all_tests.sh` now shows a counter to estimate progress
- function `copy_test_scripts` is no longer needed; all fixture
  scripts are automatically copied to test folder

Co-authored-by: Max Schmitt <max@schmitt.mx>

Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-02-14 12:23:08 -08:00
..
fixture-scripts chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
.gitignore chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
initialize_test.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
README.md chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
run_all_tests.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_android_types.sh chore: make single installation test executable (#12055) 2022-02-11 20:30:32 -08:00
test_connect_to_selenium.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_electron_types.sh chore: make single installation test executable (#12055) 2022-02-11 20:30:32 -08:00
test_playwright_chromium_should_work.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_playwright_cli_codegen_should_work.sh chore: make single installation test executable (#12055) 2022-02-11 20:30:32 -08:00
test_playwright_cli_install_should_work.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_playwright_cli_screenshot_should_work.sh chore: make single installation test executable (#12055) 2022-02-11 20:30:32 -08:00
test_playwright_driver_should_work.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_playwright_electron_should_work.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_playwright_firefox_should_work.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_playwright_global_installation_cross_package.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_playwright_global_installation_subsequent_installs.sh chore: make single installation test executable (#12055) 2022-02-11 20:30:32 -08:00
test_playwright_global_installation.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_playwright_should_work_with_relative_browsers_path.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_playwright_should_work_with_relative_home_path.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_playwright_should_work.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_playwright_test_should_work.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_playwright_test_stacks_should_work.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_playwright_validate_dependencies_skip_executable_path.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_playwright_validate_dependencies.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_playwright_webkit_should_work.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_screencast.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_skip_browser_download_inspect_with_custom_executable.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00
test_skip_browser_download.sh chore: make single installation test executable (#12055) 2022-02-11 20:30:32 -08:00
test_typescript_types.sh chore: improve installation tests (#12092) 2022-02-14 12:23:08 -08:00

Installation Tests

These tests check end-to-end installation and operation of Playwright. Each test is set with a separate folder that contains all scripts from fixture-scripts folder and dummy package.json.

To create a new test, create a new file that starts with test_*.sh with the following header: bash #!/bin/bash source ./initialize_test.sh && initialize_test "$@" # initialize test

To run all tests:

./run_all_tests.sh