Skip to content

Commit 1b4003b

Browse files
committed
fix: update test to use correct selector
1 parent ed91478 commit 1b4003b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/connector.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ async function expectConnected(page: Page, username = 'testuser') {
2828
* the npm CLI menu item inside the dropdown.
2929
*/
3030
async function openConnectorModal(page: Page) {
31-
// The AccountMenu button has aria-haspopup="true"
32-
await page.locator('button[aria-haspopup="true"]').click()
31+
// The AccountMenu button has aria-haspopup="menu"
32+
await page.locator('button[aria-haspopup="menu"]').click()
3333

3434
// In the dropdown menu, click the npm CLI item (menuitem containing ~testuser)
3535
await page

0 commit comments

Comments
 (0)