Skip to content

Commit

Permalink
fix(CI): Try to match generic-slots spec with text-slots spec
Browse files Browse the repository at this point in the history
Change-Id: Ia91c6b914f9751d923ca2674b7557c00643422e4
GitOrigin-RevId: 6e0b72afd8a6ad7d68c7534e1f388e847df982ec
  • Loading branch information
sarahsga authored and actions-user committed Dec 17, 2024
1 parent 3df1d8f commit e4a30ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platform/wab/cypress/e2e/generic-slots.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand All @@ -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);
Expand Down

0 comments on commit e4a30ae

Please sign in to comment.