diff --git a/cypress/integration/other/configuration.spec.js b/cypress/integration/other/configuration.spec.js index 25e6bfdfa..a92aae52b 100644 --- a/cypress/integration/other/configuration.spec.js +++ b/cypress/integration/other/configuration.spec.js @@ -110,11 +110,10 @@ describe('Configuration', () => { cy.viewport(1440, 1024); cy.visit(url); - cy.get('svg').then((svgs) => { - svgs[0].matchImageSnapshot( - 'configuration.spec-should-not-taint-initial-configuration-when-using-multiple-directives' - ); - }); + cy.get('svg'); + cy.matchImageSnapshot( + 'configuration.spec-should-not-taint-initial-configuration-when-using-multiple-directives' + ); }); }); });