Skip to content

Commit

Permalink
Add puppeteer to execute E2E tests of purchasing flow
Browse files Browse the repository at this point in the history
  • Loading branch information
tonidero committed Jan 18, 2024
1 parent 81e753c commit 9a55536
Show file tree
Hide file tree
Showing 6 changed files with 994 additions and 34 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,13 @@ jobs:
VITE_RC_API_KEY: ${{ secrets.RC_API_KEY }}
VITE_RC_STRIPE_ACCOUNT_ID: ${{ secrets.RC_STRIPE_ACCOUNT_ID }}
VITE_RC_STRIPE_PK_KEY: ${{ secrets.RC_STRIPE_PK_KEY }}

- name: npm e2e tests
working-directory: ./examples/rcbilling-demo
run: |
npm run test:ci
env:
CI: true
VITE_RC_API_KEY: ${{ secrets.RC_API_KEY }}
VITE_RC_STRIPE_ACCOUNT_ID: ${{ secrets.RC_STRIPE_ACCOUNT_ID }}
VITE_RC_STRIPE_PK_KEY: ${{ secrets.RC_STRIPE_PK_KEY }}
Loading

0 comments on commit 9a55536

Please sign in to comment.