Skip to content

Commit d048177

Browse files
committed
chore: refine e2e structure
1 parent be3cb3a commit d048177

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { expect, test } from '@playwright/test'
22

33
test('should apply alias to subpath', async ({ page }) => {
4-
await page.goto('alias/dir.html')
4+
await page.goto('hooks/alias/dir.html')
55
await expect(page.locator('#result')).toHaveText('dir1 > c')
66
})
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect, test } from '@playwright/test'
22

3-
test('longer alias shall override shorter ones', async ({ page }) => {
4-
await page.goto('alias/override.html')
3+
test('longer aliases should override shorter ones', async ({ page }) => {
4+
await page.goto('hooks/alias/override.html')
55
await expect(page.locator('#a')).toHaveText('dir2 > a')
66
await expect(page.locator('#b')).toHaveText('dir2 > b')
77
})

0 commit comments

Comments
 (0)