From 1452cde4a332b64bf045b39d92d91c901c7293d1 Mon Sep 17 00:00:00 2001 From: Vladislav Tasev Date: Mon, 3 Feb 2025 14:07:34 +0200 Subject: [PATCH] chore: test --- packages/fiori/cypress/specs/FCL.cy.tsx | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/packages/fiori/cypress/specs/FCL.cy.tsx b/packages/fiori/cypress/specs/FCL.cy.tsx index dc8105dba48a..05a7b91c4dad 100644 --- a/packages/fiori/cypress/specs/FCL.cy.tsx +++ b/packages/fiori/cypress/specs/FCL.cy.tsx @@ -69,3 +69,31 @@ describe("Columns resize", () => { }); }); }); + +describe("ACC", () => { + it("verifies that aria-hidden is not set in OneColumn layout", () => { + cy.mount( + +
some content
+
+ ); + + 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"); + }); +});