You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Routes it targets: listing pages `/articles`, `/services`, `/case-studies`, then navigates to the first detail page it can find under each (e.g. ``/articles/<slug>`).
67
-
68
-
- 1:1 or 1:many: 1:many (listing + arbitrary first detail for each content type).
- Routes it targets: none hardcoded in the POM; the specs drive navigation. In practice it's used to start on `/` then navigate via Astro View Transitions to `/articles` and sometimes `/services`.
75
-
76
-
- 1:1 or 1:many: 1:many (it's a view-transitions persistence harness for whatever page contains the selector under test).
77
-
78
-
- Used by:
79
-
-`footer.spec.ts` (navigates / → /articles)
80
-
-`themepicker.spec.ts` (navigates / → /articles)
81
-
-`head.spec.ts` (navigates / → /articles, /services, plus a reload back to /)
82
-
83
-
### HeadPage (HeadPage.ts)
84
-
85
-
- Routes it targets: none hardcoded; it asserts head/meta/JSON-LD on whatever page you've navigated to. In the structured data suite it covers `/`, `/articles`, first `/articles/<slug>`, `/services`, first `/services/<slug>`, and `/contact`.
86
-
87
-
- 1:1 or 1:many: 1:many (generic head / structured-data helper).
88
-
89
-
- Used by: `structured-data.spec.ts`
90
-
91
-
### MarkdownPage (MarkdownPage.ts)
92
-
93
-
- Routes it targets: `/testing/markdown` (dedicated fixture page).
94
-
95
-
- 1:1 or 1:many: 1:1 (single fixture route).
96
-
97
-
- Used by: `markdown.spec.ts`
98
-
99
-
### NewsletterPage (NewsletterPage.ts)
100
-
101
-
- Routes it targets:`/testing/newsletter` (dedicated fixture page).
102
-
103
-
- Also interacts with: the action endpoint `/_actions/newsletter/subscribe` (via `waitForResponse` expectations).
104
-
1:1 or 1:many: 1:1 (single fixture route, plus the action endpoint).
105
-
106
-
- Used by: `newsletter-subscription.spec.ts`
107
-
108
-
### PerformancePage (PerformancePage.ts)
109
-
110
-
- Routes it targets: none hardcoded; in current specs it's used against `/` (homepage).
111
-
1:1 or 1:many: 1:many in design (generic perf helpers), but currently exercised as 1:1 on `/`.
112
-
113
-
- Used by:
114
-
-`core-web-vitals.spec.ts` (goes to `/`)
115
-
-`lighthouse.spec.ts` (goes to `/`, but tests are skipped)
116
-
117
-
### PwaPage (PwaPage.ts)
118
-
119
-
- Routes it targets: primarily `/` (homepage), including helpers that wait for SW readiness/caches (some of which are environment-dependent).
120
-
121
-
- 1:1 or 1:many: 1:many in capability (PWA primitives), but current coverage is 1:1 on `/`.
0 commit comments