-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtutorial.config.ts
More file actions
59 lines (58 loc) · 1.38 KB
/
Copy pathtutorial.config.ts
File metadata and controls
59 lines (58 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import type { TutorialConfig } from "./scripts/types";
export const tutorialConfig: TutorialConfig = {
docsRepo: "../docs",
docsBasePath: "src/content/docs/tutorial",
docsAssetsPath: "src/assets",
stages: [
{
name: "stage-0-baseline",
title: "Tutorial overview",
order: 0,
newPaths: [],
},
{
name: "stage-1-setup",
title: "Setting up Playwright",
order: 1,
newPaths: [
"tests/check-setup.spec.ts",
"tests/setup.spec.ts",
"tests/teardown.spec.ts",
"playwright.config.ts",
"global-setup.ts",
"global-teardown.ts",
"setup-utils.ts",
"app/api/internal/",
],
},
{
name: "stage-2-generated-tests",
title: "Generating tests with the Playwright MCP Server",
order: 2,
newPaths: [
"mcp-user.ts",
"tests/test.ts",
"tests/support/",
"tests/activity-section.spec.ts",
"tests/change-password.spec.ts",
"tests/change-name.spec.ts",
"tests/plan-upgrade.spec.ts",
"tests/change-email.spec.ts",
"tests/team-invitation.spec.ts",
"tests/test-with-new-user.ts",
],
},
{
name: "stage-3-endform-integration",
title: "Running tests with Endform",
order: 3,
newPaths: [".github/workflows/endform-tests-on-main.yml"],
},
{
name: "stage-4-completed",
title: "Understanding test results with the Endform dashboard",
order: 4,
newPaths: ["tests/flaky-test.spec.ts"],
},
],
};