Remove percy and add docs on how to produce the snapshots
This commit is contained in:
parent
6d4a060881
commit
bdba288ff1
7 changed files with 32 additions and 328 deletions
|
@ -1,5 +1,4 @@
|
|||
import {test, expect} from '@playwright/test'
|
||||
import percySnapshot from '@percy/playwright'
|
||||
|
||||
const isMac = process.platform === 'darwin'
|
||||
|
||||
|
@ -43,8 +42,6 @@ test.describe('setting-static-props', () => {
|
|||
await expect(firstInput).toHaveAttribute('value', '1')
|
||||
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')
|
||||
await expect(page).toHaveScreenshot()
|
||||
})
|
||||
})
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
Loading…
Add table
Add a link
Reference in a new issue