Update cypress.md (#9039)

pull/28217/head
Michael Telatynski 2022-07-11 12:23:06 +01:00 committed by GitHub
parent 32c008b3f0
commit 375ff265db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ This will run the Cypress tests once, non-interactively.
You can also run individual tests this way too, as you'd expect:
```
yarn run test:cypress --spec cypress/integration/1-register/register.spec.ts
yarn run test:cypress --spec cypress/e2e/1-register/register.spec.ts
```
Cypress also has its own UI that you can use to run and debug the tests.
@ -44,7 +44,7 @@ yarn run test:cypress:open
## How the Tests Work
Everything Cypress-related lives in the `cypress/` subdirectory of react-sdk
as is typical for Cypress tests. Likewise, tests live in `cypress/integration`.
as is typical for Cypress tests. Likewise, tests live in `cypress/e2e`.
`cypress/plugins/synapsedocker` contains a Cypress plugin that starts instances
of Synapse in Docker containers. These synapses are what Element-web runs against