From 5e8b6c15f0713f5af707ff5a9be44ff011879800 Mon Sep 17 00:00:00 2001 From: Sarah Schwartz <58856580+sarahschwartz@users.noreply.github.com> Date: Fri, 11 Oct 2024 13:58:53 -0600 Subject: [PATCH] chore: debug2 --- .github/workflows/playwright.yaml | 4 ++-- tests/utils/metamask.ts | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/playwright.yaml b/.github/workflows/playwright.yaml index 9d4f6551..18e7b450 100644 --- a/.github/workflows/playwright.yaml +++ b/.github/workflows/playwright.yaml @@ -15,7 +15,7 @@ jobs: # - "tests/daily-spend-limit.spec.ts" # - "tests/signing-txns-with-webauthn.spec.ts" # - "tests/native-aa-multisig.spec.ts" - - "tests/frontend-paymaster.spec.ts" + - "frontend-paymaster" steps: - uses: actions/checkout@v4 @@ -34,7 +34,7 @@ jobs: export TERM=xterm-256color export COLUMNS=80 export LINES=24 - xvfb-run bun test:headful ${{ matrix.tutorial }} + xvfb-run bun test:headful tests/${{ matrix.tutorial }}.spec.ts - uses: actions/upload-artifact@v4 if: always() with: diff --git a/tests/utils/metamask.ts b/tests/utils/metamask.ts index 3d5651e9..04b757de 100644 --- a/tests/utils/metamask.ts +++ b/tests/utils/metamask.ts @@ -25,6 +25,10 @@ async function connectMultipleAccounts(notificationPage: Page, accounts: string[ // Additionally disable default account to reuse necessary delay // console.log('DISABLING DEFAULT ACCOUNT'); // await notificationPage.locator(selectors.accountOption).locator(selectors.accountCheckbox).last().setChecked(false); + const elements1 = await notificationPage.locator('.choose-account-list').all(); + console.log('ELEMENTS1', elements1); + const elements2 = await notificationPage.locator('input').all(); + console.log('INPUTS', elements2); console.log('GETTING ACCOUNT LOCATORS'); const accountLocators = await notificationPage.locator(selectors.accountOption).all(); console.log('accountLocators', accountLocators);