diff --git a/packages/app/tests/e2e/src/pages/base.page.ts b/packages/app/tests/e2e/src/pages/base.page.ts index cd83edf724..fc862fbd5e 100644 --- a/packages/app/tests/e2e/src/pages/base.page.ts +++ b/packages/app/tests/e2e/src/pages/base.page.ts @@ -121,6 +121,7 @@ export class BasePage { } async getElementByClassAndText(className: string, text: string) { + await this.world.page?.waitForTimeout(config.defaultTimeout.timeout); element = await this.world.page?.locator(`//*[@class='${className}' and contains(text(), '${text}')]`); return await element; }