Skip to content

Commit 4a7c11b

Browse files
authored
Update loadDesign.js
1 parent 725383c commit 4a7c11b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cypress-action/cypress/e2e/e2e/loadDesign.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const captureSnapshot = ({ window, designId, theme }) => {
5656
const path = snapshotPath(designId, theme);
5757
cy.wait(2000);
5858

59-
cy.get(canvasContainer.query, { timeout: 10 * 1000 })
59+
cy.get("main", { timeout: 10 * 1000 })
6060
.should("exist")
6161
.screenshot(path, {
6262
//blackout: [".hide-from-snapshot"], // hides elements before screenshot

0 commit comments

Comments
 (0)