Skip to content

Commit

Permalink
fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasballinger committed Dec 4, 2024
1 parent 19264de commit 56d9b53
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:

- uses: extractions/setup-just@v2

# TODO this doesn't pass on Node.js 20 but it should, something with Next.js
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
Expand Down
10 changes: 7 additions & 3 deletions test-nextjs/e2e-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@

## The mostly automated way

After an npm install, run `npm test`. This tests against the most recent binary.

## The more manual way

The following instructions require some pre-work, but once you've done the first couple steps once
you can skip to running the test command at the end.
you can skip to running the test command at the end.

1. Clone [convex-backend](https://github.com/get-convex/convex-backend)

Expand All @@ -15,7 +19,7 @@ you can skip to running the test command at the end.
CONVEX_LOCAL_BACKEND_PATH=/path/to/your/convex-backend npm run test
```

## The manual way
## The most manual way

You'll need manage your own Convex deployment to follow these instructions.

Expand All @@ -29,4 +33,4 @@ You'll need manage your own Convex deployment to follow these instructions.

`npx convex env set AUTH_E2E_TEST_SECRET <something>`

1. Run `playwright test`
1. Run `playwright test`

0 comments on commit 56d9b53

Please sign in to comment.