Skip to content

Commit e2b1573

Browse files
committed
fix unit tests
1 parent 71f811d commit e2b1573

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

packages/main/cypress/specs/ListItemCustom.cy.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -326,16 +326,6 @@ describe("ListItemCustom - _onfocusin and _onfocusout Tests", () => {
326326
.find("li[part='native-li']")
327327
.should("have.attr", "aria-labelledby")
328328
.and("include", `${itemId}-invisibleTextContent`);
329-
330-
// Verify that the custom delete button is properly rendered in the shadow DOM
331-
cy.get("#li-custom-delete")
332-
.shadow()
333-
.find("div.ui5-li-deletebtn")
334-
.should("exist")
335-
.and("contain", "Remove");
336-
337-
// Check that clicking the delete button triggers the delete event
338-
cy.get("#custom-delete-button").should("exist");
339329
});
340330

341331
// Remove focus

0 commit comments

Comments
 (0)