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);