Skip to content

trustification/trustify-ui-tests

Repository files navigation

End-to-end tests for trustify-ui

Requirements

  • NodeJS 21
  • A running instance of Trustify

Running the tests

  • Install dependencies:
npm ci
  • Point the tests to a running instance of trustify:
export TRUSTIFY_URL=http://localhost:8080
  • Run tests:
npx playwright test
  • Or if you prefer to run the tests and see the Playwright UI use:
npm run test

Environment Variables

Variable Default Value Description
TRUSTIFY_URL http://localhost:8080 The UI URL
TRUSTIFY_AUTH_ENABLED false Whether or not auth is enabled in the UI

Available commands

There are come preconfigured commands you can use:

Variable Description
npm run test Execute tests
npm run test:trace Execute tests and take screenshots
npm run test:host Opens the Playwright UI in the browser of your OS

You can also execute any playwright or playwright-bdd command directly in your terminal.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published