playwright/installation-tests/README.md
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

19 lines
471 B
Markdown

# 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:
```bash
./run_all_tests.sh
```