diff --git a/pages/component/general-event/general-event.test.js b/pages/component/general-event/general-event.test.js index 81c1df85bb7a2bd1317297ee835ce793caac78be..41a82b26bd74abac1375b5ba2b4a72f67e5ad28a 100644 --- a/pages/component/general-event/general-event.test.js +++ b/pages/component/general-event/general-event.test.js @@ -249,6 +249,8 @@ describe('event trigger', () => { duration: 1000 }) } + const img = await program.screenshot({fullPage: true}); + expect(img).toSaveImageSnapshot() const longPressTouchIdentifierText = await longPressTouchIdentifier.text() expect(longPressTouchIdentifierText).not.toBe(longPressTouchTargetIdentifier) expect(longPressTouchIdentifierText).toBeTruthy()