fix: all flaky e2e tests (#20476)
* fix: all flaky e2e tests * update * Update basic.e2e.ts * Update basic.e2e.ts * update * Update basic.e2e.ts * update * update * push * update * final * update * fix
This commit is contained in:
1 parent
134086f229
commit
54d98e73a2
13 files changed
+51
-25
No files matched your search
@@ -123,7 +123,7 @@ export function createAppsFixture(page: Page) {
|
||||
},
|
||||
verifyAppsInfoNew: async (app: string, eventTypeId: number) => {
|
||||
await page.goto(`event-types/${eventTypeId}?tabName=apps`);
|
||||
await page.waitForLoadState("domcontentloaded");
|
||||
await expect(page.getByTestId("vertical-tab-event_setup_tab_title")).toContainText("Event Setup"); // fix the race condition
|
||||
await expect(page.locator(`[data-testid='${app}-app-switch'][data-state="checked"]`)).toBeVisible();
|
||||
},
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user