Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
vladitasev committed Feb 3, 2025
1 parent aaeeb55 commit 1452cde
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions packages/fiori/cypress/specs/FCL.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,31 @@ describe("Columns resize", () => {
});
});
});

describe("ACC", () => {
it("verifies that aria-hidden is not set in OneColumn layout", () => {
cy.mount(
<FlexibleColumnLayout id="fcl" layout="OneColumn">
<div class="column" id="startColumn" slot="startColumn">some content</div>
</FlexibleColumnLayout>
);

cy.get("[ui5-flexible-column-layout]")
.as("fcl");

cy.get("@fcl")
.shadow()
.find("slot[name=startColumn]")
.should("not.have.attr", "aria-hidden");

cy.get("@fcl")
.shadow()
.find("slot[name=midColumn]")
.should("have.attr", "aria-hidden");

cy.get("@fcl")
.shadow()
.find("slot[name=endColumn]")
.should("have.attr", "aria-hidden");
});
});

0 comments on commit 1452cde

Please sign in to comment.