Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kremalicious committed Dec 12, 2023
1 parent b5e9e8e commit 22a67f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/header.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ 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()
await expect(menu).toBeVisible()
})

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')

Expand Down

1 comment on commit 22a67f6

@vercel
Copy link

@vercel vercel bot commented on 22a67f6 Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

kremalicious.vercel.app
blog-git-main-kremalicious.vercel.app
blog-kremalicious.vercel.app

Please sign in to comment.