Flaky Jest test: `spec/frontend/clusters/clusters_bundle_spec.js`
As seen in https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/194661748:
Summary of all failing tests
FAIL spec/frontend/clusters/clusters_bundle_spec.js (6.516s)
● Clusters › showToken › should update token field type
Test took too long (502ms > 500ms)!
19 | const elapsedTimeInMs = Date.now() - testStartTime;
20 | if (elapsedTimeInMs > testTimeoutInMs) {
> 21 | throw new Error(`Test took too long (${elapsedTimeInMs}ms > ${testTimeoutInMs}ms)!`);
| ^
22 | }
23 | });
24 | };
at Object.<anonymous> (spec/frontend/helpers/timeout.js:21:13)
Edited by Rémy Coutable