From 6dac50c7c69fb09afd65dcd018578e39a74a5189 Mon Sep 17 00:00:00 2001 From: Mirna Silva Date: Tue, 7 Jan 2020 17:23:35 -0300 Subject: [PATCH] Improvements on VTK visual tests 2 --- .../visual-regression/PercyCheckOHIFCornerstoneHotkeys.spec.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/viewer/cypress/integration/visual-regression/PercyCheckOHIFCornerstoneHotkeys.spec.js b/platform/viewer/cypress/integration/visual-regression/PercyCheckOHIFCornerstoneHotkeys.spec.js index 582a59799..4f6a74c3c 100644 --- a/platform/viewer/cypress/integration/visual-regression/PercyCheckOHIFCornerstoneHotkeys.spec.js +++ b/platform/viewer/cypress/integration/visual-regression/PercyCheckOHIFCornerstoneHotkeys.spec.js @@ -15,6 +15,7 @@ describe('Visual Regression - OHIF Cornerstone Hotkeys', () => { // Hotkey I cy.get('body').type('I'); // Visual comparison + cy.screenshot('Hotkey I - Should Invert Image'); cy.percyCanvasSnapshot('Hotkey I - Should Invert Image'); }); @@ -26,6 +27,7 @@ describe('Visual Regression - OHIF Cornerstone Hotkeys', () => { cy.get('body').type(' '); // Visual comparison to make sure the 'inverted' image was reset + cy.screenshot('Hotkey SPACEBAR - Should Reset Image'); cy.percyCanvasSnapshot('Hotkey SPACEBAR - Should Reset Image'); }); });