@@ -38,12 +38,12 @@ test('docs page loads', async ({ page }) => {
38
38
39
39
expect ( componentsLinksOnPage ) . toStrictEqual ( expectedComponentLinks ) ;
40
40
41
- const qwikCityLinksOnPage = await page
41
+ const qwikRouterLinksOnPage = await page
42
42
. locator ( '#qwik-sidebar' )
43
- . locator ( 'details:has(summary h5:text("Qwik City ")) ul li a' )
43
+ . locator ( 'details:has(summary h5:text("Qwik Router ")) ul li a' )
44
44
. allTextContents ( ) ;
45
45
46
- const expectedQwikCityLinks = [
46
+ const expectedQwikRouterLinks = [
47
47
'Overview' ,
48
48
'Routing' ,
49
49
'Pages' ,
@@ -61,7 +61,7 @@ test('docs page loads', async ({ page }) => {
61
61
'API reference' ,
62
62
] ;
63
63
64
- expect ( qwikCityLinksOnPage ) . toStrictEqual ( expectedQwikCityLinks ) ;
64
+ expect ( qwikRouterLinksOnPage ) . toStrictEqual ( expectedQwikRouterLinks ) ;
65
65
66
66
const cookbookLinksOnPage = await page
67
67
. locator ( '#qwik-sidebar' )
@@ -84,6 +84,7 @@ test('docs page loads', async ({ page }) => {
84
84
'Theme Management' ,
85
85
'Drag & Drop' ,
86
86
'View Transition' ,
87
+ 'Detect img tag onLoad' ,
87
88
] ;
88
89
89
90
// if you are adding a new page to the cookbook, please add a new test for the page to load too
@@ -146,6 +147,7 @@ test('docs page loads', async ({ page }) => {
146
147
'Self-Hosting' ,
147
148
'Vercel Edge' ,
148
149
'Static Site' ,
150
+ 'GitHub Pages' ,
149
151
'Azion' ,
150
152
] ;
151
153
@@ -166,6 +168,7 @@ test('docs page loads', async ({ page }) => {
166
168
'Best Practices' ,
167
169
'Bundle Optimization' ,
168
170
'Env variables' ,
171
+ 'Rewrites' ,
169
172
] ;
170
173
171
174
expect ( guidesLinksOnPage ) . toStrictEqual ( expectedGuidesLinks ) ;
@@ -217,20 +220,20 @@ test('docs page loads', async ({ page }) => {
217
220
218
221
expect ( referenceLinksOnPage ) . toStrictEqual ( expectedReferenceLinks ) ;
219
222
220
- const qwikLabsLinksOnPage = await page
223
+ const ExperimentalLinksOnPage = await page
221
224
. locator ( '#qwik-sidebar' )
222
- . locator ( 'details:has(summary h5:text("Qwik Labs 🧪")) ul li a' )
225
+ . locator ( 'details:has(summary h5:text("Experimental 🧪")) ul li a' )
223
226
. allTextContents ( ) ;
224
227
225
- const expectedQwikLabsLinks = [
228
+ const expectedExperimentalLinks = [
226
229
'Overview' ,
227
230
'Insights' ,
228
231
'Typed Routes' ,
229
232
'Devtools' ,
230
233
'usePreventNavigate' ,
231
234
] ;
232
235
233
- expect ( qwikLabsLinksOnPage ) . toStrictEqual ( expectedQwikLabsLinks ) ;
236
+ expect ( ExperimentalLinksOnPage ) . toStrictEqual ( expectedExperimentalLinks ) ;
234
237
235
238
const communityLinksOnPage = await page
236
239
. locator ( '#qwik-sidebar' )
@@ -249,7 +252,7 @@ test('getting started page loads', async ({ page }) => {
249
252
250
253
test ( 'Project Structure page loads' , async ( { page } ) => {
251
254
await page . goto ( '/docs/project-structure/' ) ;
252
- await expect ( page ) . toHaveTitle ( 'Project Structure | Qwik City 📚 Qwik Documentation' ) ;
255
+ await expect ( page ) . toHaveTitle ( 'Project Structure | Qwik Router 📚 Qwik Documentation' ) ;
253
256
} ) ;
254
257
255
258
test ( 'FAQ page loads' , async ( { page } ) => {
0 commit comments