Skip to content

Commit 46970d4

Browse files
author
Nate Rush
authored
Merge pull request #1285 from mito-ds/flaky-prerelease
Attempt to make prerelease tests less flaky
2 parents 5246992 + bd1fb94 commit 46970d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/streamlit_ui_tests/demos/vanguard.spec.ts

+2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,10 @@ test('Vanguard Demo', async ({ page }) => {
6565
* Values: sum of MoM Return
6666
*/
6767
await mito.locator('.mito-toolbar-button', { hasText: 'Pivot' }).click();
68+
await awaitResponse(page);
6869
await mito.locator('.spacing-row', { hasText: 'Rows' }).getByText('Add').click();
6970
await mito.locator('.mito-dropdown-item', { hasText: 'Portfolio Manager' }).click();
71+
await awaitResponse(page);
7072
await mito.locator('.spacing-row', { hasText: 'Rows' }).getByText('Add').click();
7173
await mito.locator('.mito-dropdown-item', { hasText: 'Email' }).click();
7274
await awaitResponse(page);

0 commit comments

Comments
 (0)