Skip to content

Commit b73e1d2

Browse files
committed
Update test to be less flaky
1 parent cb48676 commit b73e1d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/streamlit_ui_tests/taskpanes/code_config.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ test.describe('Code Config', () => {
2828
await mito.getByText('Add').click();
2929
await mito.locator('.mito-dropdown-item', { hasText: 'CSV Import File Path' }).click();
3030

31-
await expect(page.locator('.stCodeBlock')).toContainText(/def new_name\([a-zA-Z\/']*\/test\.csv'\):/);
31+
await expect(page.locator('.stCodeBlock')).toContainText('def new_name(r\'');
3232
});
3333
});

0 commit comments

Comments
 (0)