1
0
Fork 0
This commit is contained in:
Matthias Kretschmann 2023-12-12 20:19:43 +00:00
parent b5e9e8eaf3
commit 22a67f6956
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ test('matches screenshot', async ({ page }) => {
test('all menu buttons are present', async ({ page }) => {
const theme = page.getByTitle('Toggle Theme')
const search = page.getByRole('button', { name: 'Search' })
const menu = page.getByRole('button', { name: 'Menu' })
const menu = page.getByTitle('Menu')
await expect(theme).toBeVisible()
await expect(search).toBeVisible()
@ -19,7 +19,7 @@ test('all menu buttons are present', async ({ page }) => {
})
test('page menu is working', async ({ page }) => {
const menuButton = page.getByRole('button', { name: 'Menu' })
const menuButton = page.getByTitle('Menu')
const menu = page.locator('nav[aria-label="Pages"]')
const body = page.locator('body')