Skip to content

Commit cd4a670

Browse files
committed
tests: verify that the book URL redirects work
Now that `external/book/` has been re-generated, we can safely verify in the CI builds that these redirects keep working. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 605793f commit cd4a670

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/git-scm.spec.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,11 @@ test('manual pages', async ({ page }) => {
199199
})
200200

201201
test('book', async ({ page }) => {
202+
await page.goto(`${url}book/`)
203+
await expect(page).toHaveURL(`${url}book/en/v2`)
204+
202205
await page.goto(`${url}book`)
206+
await expect(page).toHaveURL(`${url}book/en/v2`)
203207

204208
// Navigate to the first section
205209
await page.getByRole('link', { name: 'Getting Started' }).click()

0 commit comments

Comments
 (0)