There was an error while loading. Please reload this page.
1 parent 233a296 commit ee0efcaCopy full SHA for ee0efca
1 file changed
browser_tests/tests/subscription.spec.ts
@@ -14,9 +14,7 @@ async function openUserPopover(page: Page): Promise<Locator> {
14
// Use dispatchEvent instead of click() to bypass Playwright's actionability
15
// check — in the cloud environment a subscription dialog backdrop can be
16
// present during initial page load and would block a standard click.
17
- await page
18
- .getByTestId(TestIds.user.currentUserButton)
19
- .dispatchEvent('click')
+ await page.getByTestId(TestIds.user.currentUserButton).dispatchEvent('click')
20
const popover = page.getByTestId(TestIds.user.currentUserPopover)
21
await expect(popover).toBeVisible()
22
return popover
0 commit comments