Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 977 Bytes

README.md

File metadata and controls

44 lines (28 loc) · 977 Bytes

CircleCI

DOM Test Fixture Automation

An experiment to automate manual testing of the ReactDOM test fixtures.

Setup

This setup has only been tested in High Sierra OSX.

yarn install
cp .env.example .env

Local testing

Run:

yarn test

By default, this tests Chrome locally.

Local Server Testing

To define a local server to test again, pass in a 'baseUrl' setting:

yarn test --baseUrl=http://localhost:5000

Remote testing

  1. Create an account (a free trial is fine) on Sauce Labs.
  2. Copy .env.example to .env.
  3. Fill in your Sauce Labs username and key within .env
yarn test

By default, this tests 4 different browsers on the Sauce Labs platform.