Skip to content

Commit 0136a38

Browse files
committed
Submit rather than discarding TC changes
1 parent eafff94 commit 0136a38

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

e2e/tests/visual-a11y/imagery.visual.spec.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,10 @@ test.describe('Visual - Example Imagery', () => {
8989
await page.getByRole('button', { name: 'Time Conductor Mode', exact: true }).click();
9090
await page.getByRole('button', { name: 'Time Conductor Mode Menu' }).click();
9191
await page.getByRole('menuitem', { name: /Real-Time/ }).click();
92+
//dismiss the time conductor popup
93+
await page.getByLabel('Submit time offsets').click();
9294
await page.clock.pauseAt(MISSION_TIME + TEN_MINUTES);
93-
// Resume clock to allow debounce functions to fire.
9495
await page.waitForURL(/tc\.mode=local/);
95-
//dismiss the time conductor popup
96-
await page.getByLabel('Discard changes and close time popup').click();
9796
await scrollLastThumbnailIntoView(page);
9897

9998
await percySnapshot(page, `Example Imagery in Real Time (theme: ${theme})`);

0 commit comments

Comments
 (0)