We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89a74f2 commit 25d7b14Copy full SHA for 25d7b14
1 file changed
openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/Tour.spec.ts
@@ -63,7 +63,13 @@ const validateTourSteps = async (page: Page) => {
63
await expect(page.locator(`[data-tour-elem="badge"]`)).toHaveText('3');
64
65
await page.getByTestId('searchBox').fill('dim_a');
66
- await page.getByTestId('searchBox').press('Enter', { delay: 500 });
+
67
+ const [searchResponse] = await Promise.all([
68
+ page.waitForResponse((res) => res.url().includes('/search/query')),
69
+ page.getByTestId('searchBox').press('Enter'),
70
+ ]);
71
72
+ expect(searchResponse.status()).toBe(200);
73
74
await expect(page.locator(`[data-tour-elem="badge"]`)).toHaveText('4', {
75
timeout: 1000,
0 commit comments