-
- Downloads
cypress: Generate tests data once and get them through a task
Some cypress tests use input data generated before each test suite. Some of these data are retrieved by sending HTTP requests to the Software Heritage Web API, which can take some times, especially when repeating that processing before each test suite. So instead of sending those HTTP requests before each test suite, prefer to do it once and put the test data in global cache. Those data will then be set to test suite scope through the use of a custom cypress task.
parent
2b1ae269
No related branches found
No related tags found
Showing
- cypress/integration/content-display.spec.js 5 additions, 2 deletionscypress/integration/content-display.spec.js
- cypress/plugins/index.js 104 additions, 1 deletioncypress/plugins/index.js
- cypress/support/index.js 4 additions, 94 deletionscypress/support/index.js
- cypress/utils/index.js 1 addition, 8 deletionscypress/utils/index.js
Loading
-
mentioned in merge request !742 (closed)
-
mentioned in merge request !1073 (closed)
-
mentioned in merge request !746 (closed)
Please register or sign in to comment