Skip to content

Commit

Permalink
tests: verify that the book URL redirects work
Browse files Browse the repository at this point in the history
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 <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Sep 26, 2024
1 parent 7244512 commit 8781699
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/git-scm.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,11 @@ test('manual pages', async ({ page }) => {
})

test('book', async ({ page }) => {
await page.goto(`${url}book/`)
await expect(page).toHaveURL(`${url}book/en/v2`)

await page.goto(`${url}book`)
await expect(page).toHaveURL(`${url}book/en/v2`)

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

0 comments on commit 8781699

Please sign in to comment.