Add e2e test with commit on a .dae file as LFS (#227)

* Add e2e test with commit diff with a .dae file as LFS
Fixes #168

* Add linux snapshot

* Add darwin snapshot
This commit is contained in:
Pierre Jacquier
2023-06-13 23:43:50 +01:00
committed by GitHub
parent 16b3065db3
commit 41184adf91
3 changed files with 10 additions and 0 deletions

View File

@ -66,3 +66,13 @@ test('commit diff with a .step file', async ({
const screenshot = await getFirstDiffScreenshot(page, url, 'step')
expect(screenshot).toMatchSnapshot()
})
test('commit diff with a .dae file as LFS', async ({
page,
authorizedBackground,
}) => {
const url =
'https://github.com/KittyCAD/diff-samples/commit/b009cfd6dd1eb2d0c3ec0d31a21360766ad084e4'
const screenshot = await getFirstDiffScreenshot(page, url, 'dae')
expect(screenshot).toMatchSnapshot()
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB