From e4a30ae630fe3de185aab8f692aa0fc782e7624a Mon Sep 17 00:00:00 2001 From: sarah Date: Mon, 16 Dec 2024 15:33:36 +0500 Subject: [PATCH] fix(CI): Try to match generic-slots spec with text-slots spec Change-Id: Ia91c6b914f9751d923ca2674b7557c00643422e4 GitOrigin-RevId: 6e0b72afd8a6ad7d68c7534e1f388e847df982ec --- platform/wab/cypress/e2e/generic-slots.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);