Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahschwartz committed Oct 16, 2024
1 parent 722a1d4 commit 10d0227
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/playwright.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
strategy:
matrix:
tutorial:
# - "tests/erc20-paymaster.spec.ts"
# - "tests/how-to-test-contracts.spec.ts"
# - "tests/daily-spend-limit.spec.ts"
# - "tests/signing-txns-with-webauthn.spec.ts"
# - "tests/native-aa-multisig.spec.ts"
- "tests/erc20-paymaster.spec.ts"
- "tests/how-to-test-contracts.spec.ts"
- "tests/daily-spend-limit.spec.ts"
- "tests/signing-txns-with-webauthn.spec.ts"
- "tests/native-aa-multisig.spec.ts"
- "frontend-paymaster"

steps:
Expand Down
5 changes: 1 addition & 4 deletions tests/utils/button.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import type { Page } from '@playwright/test';

export async function clickButtonByText(page: Page, selector: string | RegExp) {
const buttons = page.locator('button');
const buttonByText = buttons.getByText(selector);
await buttonByText.click();
await page.waitForTimeout(1000);
await page.locator('button').getByText(selector).click();
}

export async function clickCopyButton(page: Page, id: string) {
Expand Down

0 comments on commit 10d0227

Please sign in to comment.