Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Latest commit

 

History

History

README.md

di-ipv-cri-kbv-hmrc-front-tests

KBV HMRC Credential Issuer Frontend Tests is a test suite designed to run against the webserver in the root of this repository.

Quick Start

The following quickstart process details how to install and run the browser tests against an existing frontend website..

Major Dependencies

Installation

  1. Install node dependencies:
npm install

Configuring the application

Create a copy of the example environment variable file and add values for the keys:

cp .env.example .env

Set the environment variables accordingly.

Running the tests

Run imposter from the ../imposter directory - see the README.md file there for details.

Start the web server by running npm run start in the root directory

npm run test:browser

Set CHROMIUM_HEADLESS to false to see the user flow in a browser.

Cucumber

The browser tests are written as Cucumber Gherkin Features with the cucumber-js test runner integrated with Playwright