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

cypress: Mock costly HTTP request to /coverage endpoint

Before each test suite, cypress visits the root page to get some
references on javascript objects used in tests.

However the root page requests the costly /coverage endpoint to
render the archive coverage widget.

We do not need that widget to render for cypress tests so better
mocking that request to an empty one to speedup each test suite
startup.
parent 4dd2c8ff
No related branches found
No related tags found
No related merge requests found
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