Slow jest spec in `spec/frontend/monitoring/components/dashboard_spec.js` | Dashboard › single panel expands to "full screen" mode › when the panel is expanded › restores dashboard from full screen by typing the Escape key
Job failed in https://gitlab.com/gitlab-org/security/gitlab/-/jobs/769204424
Trace
FAIL spec/frontend/monitoring/components/dashboard_spec.js (20.945s)
● Dashboard › single panel expands to "full screen" mode › when the panel is expanded › restores dashboard from full screen by typing the Escape key
Test took too long (6104.112485ms > 6000ms)!
52 | // debugging always takes longer than the test timeout.
53 | if (elapsedNS > timeoutNS && !IS_DEBUGGING) {
> 54 | throw new Error(
| ^
55 | `Test took too long (${elapsedNS / NS_PER_MS}ms > ${timeoutNS / NS_PER_MS}ms)!`,
56 | );
57 | }
at Object.<anonymous> (spec/frontend/helpers/timeout.js:54:13)
Edited by Mark Fletcher