Application: govuk-e2e-tests
This repository contains the end-to-end (E2E) test suite for the GOV.UK platform.
README
This repository contains the end-to-end (E2E) test suite for GOV.UK, built using the Playwright framework.
Running the tests
Setup
Clone and navigate to the root folder.
Install the dependencies:
yarn install
yarn playwright install --with-deps chromium
Set environment variables
Create a .env
file in the root of the project with the following content:
cat <<EOF > .env
PUBLISHING_DOMAIN=integration.publishing.service.gov.uk
PUBLIC_DOMAIN=www.integration.publishing.service.gov.uk
DGU_DOMAIN=www.integration.data.gov.uk
SIGNON_EMAIL=<email>
SIGNON_PASSWORD=<password>
EOF
Replace placeholders with appropriate values.
Run
yarn playwright test