diff --git a/test/cypress/support/commands.js b/test/cypress/support/commands.js index a22f9b6bb..df2c54fd8 100644 --- a/test/cypress/support/commands.js +++ b/test/cypress/support/commands.js @@ -163,8 +163,8 @@ Cypress.Commands.add('testIcon', ({ element, name, size }) => { cy.clock(now); cy.document() // set DPR and wait for resources (to avoid empty snapshot) - .then((document) => document.fonts.ready) .then(() => cy.setDPR(1)) + .then((document) => document.fonts.ready) .then(() => cy.waitForStylesheets()) .then(() => { // size