fx-private-relay/e2e-tests
mansaj a1dc6802b7 Fix Typo 2023-02-15 10:10:58 +01:00
..
e2eTestUtils Fix Typo 2023-02-15 10:10:58 +01:00
fixtures add snapshots for stage and prod, as well as linux for a more flexibility in runs 2022-08-04 00:30:12 -04:00
pages Update e2e tests for renamed navigation item 2023-01-11 18:58:13 +01:00
specs removing test as the feature it testing is currently in flux 2022-09-29 21:10:56 -05:00
README.md Align e2e instructions with latest setup 2022-08-25 16:50:12 +02:00
global-setup.ts adding dev env to suite 2022-08-23 23:07:28 -04:00

README.md

Relay e2e Test Suite


How to run

1. Install Docker

https://docs.docker.com/get-docker/

2. Build Docker container using official image from playwright

docker run -v $PWD:/tests -w /tests --rm --ipc=host -it mcr.microsoft.com/playwright:v1.24.0-focal /bin/bash

3. Install Node Dependencies

npm install

4. Install Playwright test dependencies

npx playwright install

5. Run Tests

create/update a .env file with the following:

E2E_TEST_ACCOUNT_PASSWORD=<arbitrary password>

6. Run Tests

npm run test:e2e