From 92e5cba6d329995f3499ff84d79aaec0ccf723fe Mon Sep 17 00:00:00 2001 From: Jesse Mazzella Date: Mon, 15 Jul 2024 13:28:29 -0700 Subject: [PATCH] test(visual): skip flaky visual test (#7776) --- .../visual-a11y/components/timeConductor.visual.spec.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/e2e/tests/visual-a11y/components/timeConductor.visual.spec.js b/e2e/tests/visual-a11y/components/timeConductor.visual.spec.js index eef1114e40..bd089bbb6c 100644 --- a/e2e/tests/visual-a11y/components/timeConductor.visual.spec.js +++ b/e2e/tests/visual-a11y/components/timeConductor.visual.spec.js @@ -48,7 +48,13 @@ test.describe('Visual - Time Conductor', () => { // await scanForA11yViolations(page, testInfo.title); // }); - test('Visual - Time Conductor (Fixed time) @clock @snapshot', async ({ page }) => { + /** + * FIXME: This test fails sporadically due to layout shift during initial load. + * The layout shift seems to be caused by loading Open MCT's icons, which are not preloaded + * and load after the initial DOM content has loaded. + * @see https://github.com/nasa/openmct/issues/7775 + */ + test.fixme('Visual - Time Conductor (Fixed time) @clock @snapshot', async ({ page }) => { // Navigate to a specific view that uses the Time Conductor in Fixed Time mode with inspect and browse panes collapsed await page.goto( `./#/browse/mine?tc.mode=fixed&tc.startBound=${MISSION_TIME_FIXED_START}&tc.endBound=${MISSION_TIME_FIXED_END}&tc.timeSystem=utc&view=grid&hideInspector=true&hideTree=true`,