Skip to content

Commit

Permalink
Move to synpress v4
Browse files Browse the repository at this point in the history
  • Loading branch information
elvijsTDL committed Jul 11, 2024
1 parent e374c60 commit 2ce8d6d
Show file tree
Hide file tree
Showing 23 changed files with 1,458 additions and 3,049 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ jobs:
echo "BASE_URL=${{ github.event.deployment_status.environment_url }}" >> $GITHUB_ENV
fi
- name: Setup metamask cache
run: xvfb-run pnpm synpress wallet-setup --force
env:
WIDGET_WALLET_PRIVATE_KEY: ${{ secrets.WIDGET_WALLET_PRIVATE_KEY}}
WIDGET_WALLET_PUBLIC_KEY: "0x7c5de59A1b31e3D00279A825Cb95fAEDb09eA9FD"

# https://playwright.dev/docs/next/ci#running-headed
- name: Run Playwright tests
run: xvfb-run pnpm playwright test ${{ matrix.file }}
Expand Down
2 changes: 1 addition & 1 deletion apps/widget-builder/src/hooks/useDemoMode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const demoPaymentDetails: WidgetProps["paymentDetails"] = {
} as const,
],
};
//

const defaultPaymentDetails: WidgetProps["paymentDetails"] = {
paymentOptions: [
{
Expand Down
Loading

0 comments on commit 2ce8d6d

Please sign in to comment.