From 3411f08387b3fb710ea5a18361963c3c7cc24f75 Mon Sep 17 00:00:00 2001 From: Diana Petcheva Date: Mon, 25 Nov 2024 00:31:09 +0200 Subject: [PATCH] fix: move tooltip tests to acc section --- packages/main/cypress/specs/Button.cy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/main/cypress/specs/Button.cy.ts b/packages/main/cypress/specs/Button.cy.ts index 741aec9dd963..c3292b8bae04 100644 --- a/packages/main/cypress/specs/Button.cy.ts +++ b/packages/main/cypress/specs/Button.cy.ts @@ -209,7 +209,9 @@ describe("Button general interaction", () => { .find("[ui5-icon]") .should("have.attr", "mode", "Decorative"); }); +}); +describe("Accessibility", () => { it("setting tooltip on the host is reflected on the button tag", () => { cy.mount(html``); @@ -233,9 +235,7 @@ describe("Button general interaction", () => { cy.get("@button") .should("have.attr", "title", "Download"); }); -}); -describe("Accessibility", () => { it("aria-expanded is properly applied on the button tag", () => { cy.mount(html`Action Bar Button`);