Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 3a603a3

Browse files
authored
Minor e2e readme changes
1 parent 0c46193 commit 3a603a3

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

test-e2e/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@ If `E2E_BROWSER_HOST` is set and is not an `http(s)://` url, it is assumed to be
1313

1414
#### Run specific test suite(s)
1515

16-
Use the environment variable `TEST_E2E_GREP` to target specific test suites and/or web browsers / environments. This uses Mocha's `--grep` feature which supports regex.
16+
Use the environment variable `TEST_E2E_GREP` to target specific test suites and/or web browsers / environments. This uses [Mocha's `--grep` feature](https://mochajs.org/#-grep-regexp-g-regexp) which supports regex. Test suite all have the naming structure `{description} {web browser / environment}`.
1717

1818
Examples:
19-
* Run all the tests suite on the iOS platforms:
19+
* Run all test suites locally on only the Chrome browser:
20+
* `TEST_E2E_GREP=chrome npm run test-e2e:localBuild`
21+
* Run the login test suite locally on only the Chrome browser:
22+
* `TEST_E2E_GREP=login-to-hello-blockstack-app.*chrome npm run test-e2e:localBuild`
23+
* Run all test suites against the remote BrowserStack iOS platforms:
2024
* `TEST_E2E_GREP=iOS npm run test-e2e:browserstack`
21-
* Run the login test suite on iOS platforms:
25+
* Run the login test suite against the remote BrowserStack iOS platforms:
2226
* `TEST_E2E_GREP=login-to-hello-blockstack-app.*iOS npm run test-e2e:browserstack`
2327

2428

@@ -60,4 +64,4 @@ createTestSuites('account recovery via secret key', ({ driver, browserHostUrl })
6064
});
6165

6266
});
63-
```
67+
```

0 commit comments

Comments
 (0)