From 4cb6b6d46072ed45b11b19ce1858a238d16bdd3b Mon Sep 17 00:00:00 2001 From: Tristan Watanabe Date: Thu, 12 Jan 2023 20:52:05 -0500 Subject: [PATCH] fix: increase wait time after click overflow menu before taking snapshot --- apps/vr-tests/src/stories/Pivot.stories.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/vr-tests/src/stories/Pivot.stories.tsx b/apps/vr-tests/src/stories/Pivot.stories.tsx index 8f1251d9b51b74..c0add42d2db54d 100644 --- a/apps/vr-tests/src/stories/Pivot.stories.tsx +++ b/apps/vr-tests/src/stories/Pivot.stories.tsx @@ -131,10 +131,11 @@ storiesOf('Pivot - Overflow', module) .snapshot('Wide', { cropTo: '.testWrapper' }) .executeScript('document.getElementById("testWrapper").style.width = "250px"') .click('.ms-Pivot-overflowMenuButton') - .wait(500) + .wait(1500) .click('.ms-Pivot-linkInMenu[data-last-tab]') .snapshot('Narrow - Last tab selected', { cropTo: '.testWrapper' }) .click('.ms-Pivot-overflowMenuButton') + .wait(1500) .hover('.ms-Pivot-overflowMenuButton') .snapshot('Narrow - Overflow menu', { cropTo: '.testWrapper' }) .end()}