Skip to content

Commit

Permalink
Fix test to use label to open a control acordeon
Browse files Browse the repository at this point in the history
  • Loading branch information
caleeli committed Oct 9, 2024
1 parent 5c3d14e commit d38c1d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/specs/ScreenTemplateSection.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ it("Displays Shared Templates when Shared Templates button is clicked", () => {
});
});

it("Is hidden when an Inspector Panel should open", () => {
it.only("Is hidden when an Inspector Panel should open", () => {
cy.visit("/");

cy.get("[data-cy=screen-templates]").click();
Expand All @@ -118,7 +118,7 @@ it("Is hidden when an Inspector Panel should open", () => {
);

cy.setPreviewDataInput({ name: "" });
cy.openAcordeon("collapse-1");
cy.openAcordeonByLabel("Input Fields");
cy.get("[data-cy=controls-FormInput]").drag("[data-cy=screen-drop-zone]", {
position: "bottom"
});
Expand Down

0 comments on commit d38c1d9

Please sign in to comment.