Skip to content

Commit

Permalink
[DDW-617] update testing readme with e2e change
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikGuzei committed Apr 9, 2019
1 parent c8b8d06 commit f0ba157
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions features/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Example:
generates and validates mnemonics as long as you keep it
running (the number of executions is updated in the terminal)

# Run UI tests
# Run end-to-end tests

1. Make sure Daedalus is properly installed (see above).
2. Build and run the backend (Cardano SL) following the instructions from [Daedalus](https://github.com/input-output-hk/daedalus/blob/master/README.md#development---with-cardano-wallet) README file.
Expand All @@ -40,7 +40,7 @@ running (the number of executions is updated in the terminal)
$ cd daedalus/
$ yarn nix:dev XXX # XXX = cardano system startup time
$ yarn build
$ yarn test:ui
$ yarn test:e2e
```

# Run all tests
Expand All @@ -51,12 +51,12 @@ $ yarn test

Once tests are complete you will get a summary of passed/failed tests in the Terminal window.

## Keeping Daedalus Alive After UI Tests
## Keeping Daedalus alive after end-to-end tests

While working on the tests it's often useful to keep Daedalus alive after the tests have run
(e.g: to inspect the app state). You can pass a special environment var to tell the test script
not to close the app:

````bash
$ KEEP_APP_AFTER_TESTS=true yarn test
$ KEEP_APP_AFTER_TESTS=true yarn test:e2e
````

0 comments on commit f0ba157

Please sign in to comment.