From c58a04bc94b9c1d89cf058f15175b9dbd8e60829 Mon Sep 17 00:00:00 2001 From: ashishj Date: Thu, 28 Apr 2022 18:26:50 +0200 Subject: [PATCH] Fix broken configuration spec test --- cypress/integration/other/configuration.spec.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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' + ); }); }); });