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: I9b7a43dbd92ea16ce2875750ae00821f87b6bf3e
GitOrigin-RevId: 6ba10cee63f9f3d88445c5fa7da42d86eeaa767b
  • Loading branch information
sarahsga authored and actions-user committed Dec 17, 2024
1 parent e91f176 commit 3df1d8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion platform/wab/cypress/e2e/generic-slots.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
} from "../../src/wab/shared/Labels";
import { removeCurrentProject, setupNewProject } from "../support/util";

xdescribe("generic-slots", function () {
describe("generic-slots", function () {
beforeEach(() => {
setupNewProject({
name: "generic-slots",
Expand All @@ -18,6 +18,7 @@ xdescribe("generic-slots", function () {
it("can create, override content, edit default content", 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);
Expand All @@ -27,6 +28,8 @@ xdescribe("generic-slots", function () {
cy.justType("{shift}1");

cy.justLog("Insert two Widgets.");
cy.focusFrameRoot(framed2);
cy.wait(500);
cy.dragGalleryItemRelativeToElt("Widget", framed2.getFrame(), 10, 10);
cy.dragGalleryItemRelativeToElt(
"Widget",
Expand Down

0 comments on commit 3df1d8f

Please sign in to comment.