diff --git a/platform/wab/cypress/e2e/generic-slots.spec.ts b/platform/wab/cypress/e2e/generic-slots.spec.ts index 78305765f11..dc6eaeebae6 100644 --- a/platform/wab/cypress/e2e/generic-slots.spec.ts +++ b/platform/wab/cypress/e2e/generic-slots.spec.ts @@ -19,9 +19,6 @@ describe("generic-slots", function () { cy.withinStudioIframe(() => { cy.createNewComponent("Widget").then((framed) => { cy.focusFrameRoot(framed); - cy.justLog("Draw a rect slot."); - cy.justType("r"); - cy.drawRectRelativeToElt(framed.getFrame(), 10, 10, 50, 50); cy.createNewFrame().then((framed2) => { cy.justLog("Zoom out."); @@ -31,12 +28,15 @@ describe("generic-slots", function () { cy.focusFrameRoot(framed2); cy.wait(500); cy.dragGalleryItemRelativeToElt("Widget", framed2.getFrame(), 10, 10); + cy.renameTreeNode("widget1"); + cy.wait(500); cy.dragGalleryItemRelativeToElt( "Widget", framed2.getFrame(), 10, 100 ); + cy.renameTreeNode("widget2"); cy.justLog("Back to frame 1, convert to slot."); cy.focusFrameRoot(framed);