Fix STL blob preview test (#267)
This commit is contained in:
@ -126,6 +126,7 @@ test('blob preview with an .stl file', async ({
|
|||||||
}) => {
|
}) => {
|
||||||
const url =
|
const url =
|
||||||
'https://github.com/KittyCAD/diff-samples/blob/fd9eec79f0464833686ea6b5b34ea07145e32734/models/box.stl'
|
'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()
|
expect(screenshot).toMatchSnapshot()
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user