Skip to content

Commit 53a206b

Browse files
committed
Add workflow for running e2e on main vercel deployment
1 parent f4a33a9 commit 53a206b

5 files changed

Lines changed: 40 additions & 30 deletions

File tree

‎package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"private": true,
3+
"packageManager": "pnpm@10.15.0",
34
"scripts": {
45
"dev": "next dev --turbopack",
56
"build": "next build --turbopack",
@@ -44,6 +45,6 @@
4445
"@biomejs/biome": "^2.2.2",
4546
"@playwright/test": "^1.55.0",
4647
"@types/bun": "^1.2.21",
47-
"endform": "^0.35.0"
48+
"endform": "^0.35.1"
4849
}
4950
}

‎pnpm-lock.yaml‎

Lines changed: 35 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎tutorial.config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const tutorialConfig: TutorialConfig = {
4545
name: "stage-3-endform-integration",
4646
title: "Running tests with Endform",
4747
order: 3,
48-
newPaths: [],
48+
newPaths: [".github/workflows/endform-tests-on-main.yml"],
4949
},
5050
{
5151
name: "stage-4-completed",

‎tutorial/stage-0-baseline/from-cowboy-to-confidence.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: From cowboy to confidence
2+
title: Using Playwright for end-to-end testing - From cowboy to confidence
33
description: Outline of the Endform saas tutorial, where we will take an untested saas application and build a Playwright test suite for it.
44
sidebar:
55
order: 1

‎tutorial/stage-3-endform-integration/speeding-up-with-endform.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Here, Playwright took 30 seconds, and Endform took 25 seconds.
6565

6666
If we plot the results of different repeat counts, we get:
6767

68-
<Image src={TestTimeChart} alt="A chart of the test time for different repeat counts" width={600} />
68+
<Image src={TestTimeChart} alt="A chart of the test time for different repeat counts" width={800} />
6969

7070
Once we start to add more tests (or if the tests had taken longer to run), Playwright will keep slowing your suite down,
7171
while Endform will keep the speed constant.

0 commit comments

Comments
 (0)