There are two main ways of installing, via Docker and running locally. I recommend Docker.
A docker container can store everything, including the test browsers. This way they don't need to be globally installed on your operating system, and it ensures that it works the same on all devices no matter which operating system one is using.
Clone the repository
git clone https://github.com/Kattenelvis/flowback-interface-testing
cd flowback-interface-testing
docker build .
docker run .
Install npm packages
npm install
Install playwright testing browsers (chromium, chromium-headless, firefox, webkit)
npx playwright install
Then run playwright commands, as found here: https://playwright.dev/docs/test-cli
For instance:
npx playwright test . --headednpx playwright test . --project chromium --retries 3 --workers 6 --reporter=line --trace on --reporter listnpx playwright test -g "Delegation-Poll" --headedReset database between tests
docker compose down -vFor working on it and clicking around for locators
npx playwright codegen http://localhost:8085