Catch more SSR issues and improve compat tests (#353)
This will cause the build to fail, as this will catch an SSR issue, which will be fixed after merging #369
This commit is contained in:
parent
71f08e171a
commit
718beb4d7b
52 changed files with 2404 additions and 686 deletions
|
@ -14,12 +14,12 @@
|
|||
"build:static": "echo 'building for vercel' && yarn run build",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"test": "playwright test --config=devEnv/playwright.config.ts",
|
||||
"test:ci": "percy exec -- playwright test --reporter=dot --config=devEnv/playwright.config.ts --project=chromium"
|
||||
"test:ci": "playwright test --reporter=dot --config=devEnv/playwright.config.ts --project=chromium"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@percy/cli": "^1.6.0",
|
||||
"@percy/cli": "^1.16.0",
|
||||
"@percy/playwright": "^1.0.4",
|
||||
"@playwright/test": "^1.23.1",
|
||||
"@playwright/test": "^1.29.1",
|
||||
"@react-three/drei": "^7.2.2",
|
||||
"@react-three/fiber": "^7.0.6",
|
||||
"@theatre/core": "workspace:*",
|
||||
|
|
|
@ -61,6 +61,7 @@ test.describe('setting-static-props', () => {
|
|||
await expect(secondInput).toHaveAttribute('value', '2')
|
||||
|
||||
// Our first visual regression test
|
||||
// @ts-ignore - probably percy uses a different version of playwright
|
||||
await percySnapshot(page, test.info().titlePath.join('/') + '/After redo')
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue