Skip to content

Commit

Permalink
Fix Argos screenshot console errors ignore list
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Dec 24, 2024
1 parent 0215a2e commit 4148640
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions argos/tests/screenshot.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,14 @@ function throwOnConsole(page: Page) {
// it's already happening in main branch
'Failed to load resource: the server responded with a status of 404 (Not Found)',

// TODO looks like legit hydration bugs to fix
'Warning: Prop `%s` did not match. Server: %s Client: %s%s href "/docs/configuration" "/docs/configuration?docusaurus-theme=light"',
'Warning: Prop `%s` did not match. Server: %s Client: %s%s href "/docs/configuration" "/docs/configuration?docusaurus-theme=dark"',
// TODO legit hydration bugs to fix on embeds of /docs/styling-layout
// useLocation() returns window.search/hash immediately :s
'/docs/configuration?docusaurus-theme=light',
'/docs/configuration?docusaurus-theme=dark',

// Warning because react-live not supporting React automatic JSX runtime
// See https://github.com/FormidableLabs/react-live/issues/405
'Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance',

// TODO weird problem related to KaTeX fonts refusing to decode?
// on /docs/markdown-features/math-equations
Expand Down

0 comments on commit 4148640

Please sign in to comment.