Skip to content

Commit 65140c5

Browse files
committed
tests: attempt to reduce flakyness
1 parent 356b485 commit 65140c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/streamlit_ui_tests/demos/vanguard.spec.ts

+3
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ test('Vanguard Demo', async ({ page }) => {
7272
await awaitResponse(page);
7373
await mito.locator('.spacing-row', { hasText: 'Rows' }).getByText('Add').click();
7474
await mito.locator('.mito-dropdown-item', { hasText: 'Fund' }).click();
75+
await awaitResponse(page);
7576

7677
await mito.locator('.spacing-row', { hasText: 'Columns' }).getByText('Add').click();
7778
await mito.locator('.mito-dropdown-item', { hasText: 'Date' }).click();
@@ -85,7 +86,9 @@ test('Vanguard Demo', async ({ page }) => {
8586
await awaitResponse(page);
8687

8788
await mito.locator('.select-text', { hasText: 'count' }).click();
89+
await awaitResponse(page);
8890
await mito.locator('.mito-dropdown-item', { hasText: 'sum' }).click();
91+
await awaitResponse(page);
8992

9093
await page.locator('.element-container', { hasText: 'Provider Name' }).locator('input').fill('Vanguard');
9194
await page.getByText('Save Automation').click();

0 commit comments

Comments
 (0)