Skip to content
Snippets Groups Projects
Commit 627ba79a authored by Antoine Lambert's avatar Antoine Lambert
Browse files

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
1 merge request!745cypress: Generate tests data once and get them through a task
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment