Skip to content

thebiggive/regression-tests

Repository files navigation

regression-tests

CircleCI

Local Development

Framework

These tests use Webdriver.io.

Awaiting results

Because sync mode is being phased out, you should usually await commands and declares fns async. See existing steps and their supporting files for examples.

Prerequisite setup

Make sure you have the latest Yarn and Node installed. In some OS cases, when running the test for the first time, you may be prompted with further instructions to get this set up correctly, in which case follow the detailed instructions for your OS here

Install project

yarn install

Configure env

  • cp .env.dist .env
  • Populate needed variables in .env

Run locally

Make sure you have the correct Chromedriver version for your Chrome installed.

yarn test:local

Test runs on CI

These are configured and scheduled with CircleCI.

The runner is now TestingBot where we have an open source plan. We are running against recent stable Chrome and Edge versions, once per hour.

Future development notes

We may want to add tests for the charity login page. We had some dead code relating to this, which may or may not be useful for reference - see commit 6d1477f which removed CharityPortalLoginPage.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published