Skip to content

Commit 353049b

Browse files
committed
Make screenshots, too.
1 parent b2c74e0 commit 353049b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/cypress/support/commands.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,7 @@ Cypress.Commands.add('visualSnapshot', (test, name) => {
116116
t = t.parent;
117117
}
118118
titlePath.push(name);
119-
cy.percySnapshot(titlePath.join(' - '));
119+
const title = titlePath.join(' - ');
120+
cy.percySnapshot(title);
121+
cy.screenshot(title);
120122
});

0 commit comments

Comments
 (0)