Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/git-scm.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,10 @@ test('manual pages', async ({ page }) => {

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

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

// the repository URL is correct
await expect(page.getByRole('link', { name: 'hosted on GitHub' }))
Expand Down
Loading