Fix STL blob preview test (#267)

This commit is contained in:
Pierre Jacquier
2023-06-29 05:26:30 -04:00
committed by GitHub
parent 769f4f78fd
commit c21aaf29d2

View File

@ -126,6 +126,7 @@ test('blob preview with an .stl file', async ({
}) => {
const url =
'https://github.com/KittyCAD/diff-samples/blob/fd9eec79f0464833686ea6b5b34ea07145e32734/models/box.stl'
const screenshot = await getBlobPreviewScreenshot(page, url)
const element = await getBlobPreviewElement(page, url)
const screenshot = await element.screenshot()
expect(screenshot).toMatchSnapshot()
})