We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 770cee4 commit 171ccf2Copy full SHA for 171ccf2
1 file changed
src/plugins/high-velocity-sales-settings/page.ts
@@ -17,7 +17,11 @@ export class HighVelocitySalesSetupPage {
17
}
18
19
public async setUpAndEnable(): Promise<void> {
20
- await this.page.locator(AUTOMATION_TAB_ITEM).waitFor();
+ await Promise.race([
21
+ this.page.locator(AUTOMATION_TAB_ITEM).waitFor(),
22
+ // workaround: Starting Spring '26 there is a modal "Event fired" on page load.
23
+ this.page.locator(`div[role=dialog] button.slds-modal__close`).click(),
24
+ ]);
25
const tabCount = await this.page.locator(AUTOMATION_TAB_ITEM).count();
26
if (tabCount > 0) {
27
await this.page.locator(AUTOMATION_TAB_ITEM).click();
0 commit comments