Skip to content

Commit

Permalink
merge develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Celiant committed Jan 27, 2025
2 parents 9866cda + dfe9a1c commit a98aa73
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions e2e-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Description
The `/e2e-tests` folder comprises the Guardian Cypress test automation framework and automated UI and API tests.

When running API tests, it's important to remember that the tests are dependent on each other, and it is recommended to run them sequentially, following the order in the `/e2e-tests` folder.
When running API tests, remember that they depend on each other. It is recommended to run them sequentially, following the order specified in the `/e2e-tests` folder.

- [Software Requirements](#software-requirements)
- [Installation](#installation)
Expand Down Expand Up @@ -40,27 +40,27 @@ For a single test, use:

`npx cypress run --spec "path/to/file.cy.js"`

### Run by tag
### Run By Tag
To run only the specs that have any tests tagged "tag":

`npx cypress run --env "grepTags=tag,grepFilterSpecs=true"`

where tag can be:
where `tag` can be:
- accounts - all tests for accounts operations
- analytics - all tests for analytics operations
- artifacts - - all tests for artifacts operations
- contracs - all tests for contracs operations
- demo - all tests for demo operations
- external - all tests for external operations
- ipfs - all tests for IPFS operations
- logs - - all tests for log operations
- profilies - all tests for profilies operations
- settings - - all tests for settings operations
- modules - - all tests for modules operations
- artifacts - - all tests for artifacts operations
- policies - all tests for policies operations
- tokens - all tests for tokens operations
- profilies - all tests for profilies operations
- schemas - all tests for schemas operations
- analytics - all tests for analytics operations
- contracs - all tests for contracs operations
- settings - - all tests for settings operations
- tags - all tests for tags operations
- tokens - all tests for tokens operations
- trustchains - all tests for trustchains operations

### UI Tests (Policies)
Expand Down Expand Up @@ -121,4 +121,4 @@ Functionality covered by this pull includes:

## Report

After launching the tests, a folder `cypress/reports` will be generated. Inside you can find the `index.html` file. Opening this file in a browser allows you to see the details of the test run.
After launching the tests, a folder `cypress/reports` will be generated. Inside you can find the `index.html` file. Opening this file in a browser allows you to see the details of the test run.

0 comments on commit a98aa73

Please sign in to comment.