Skip to content

Commit 8e8a906

Browse files
committed
fix flaky test
1 parent 5da31c1 commit 8e8a906

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app-layout/__integ__/multi-app-layout-navigation.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ describe('Multi app layout navigation', () => {
2828
await browser.url(
2929
`#/light/app-layout/multi-layout-with-hidden-instances${iframe ? '-iframe' : ''}?${getUrlParams(theme)}`
3030
);
31+
await page.waitForExist(mainLayout.toSelector());
32+
await page.runInsideIframe('iframe', iframe, async () => {
33+
await page.waitForExist(secondaryLayout.toSelector());
34+
});
3135
await testFn(page);
3236
});
3337

0 commit comments

Comments
 (0)