Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Aug 18, 2023
1 parent d0d2305 commit ed4af27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/app-dir/not-found-default/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ createNextDescribe(
const browser = await next.browser('/non-existent')
await browser.waitForElementByCss('.next-error-h1')
expect(await browser.elementByCss('.next-error-h1').text()).toBe('404')
expect(await browser.elementByCss('html').attr('class')).toBe(
expect(await browser.elementByCss('html').getAttribute('class')).toBe(
'root-layout-html'
)
})
Expand Down

0 comments on commit ed4af27

Please sign in to comment.