describe.only("DataTable Test", () => {
beforeEach(() => {
cy.getDataTableActBtn("@dataTable").as("action-menu");
});
it.only("should open view locations modal", () => {
cy.getDataTableActBtn("@dataTable").as("action-menu");
cy.get("@action-menu").click();
cy.getByDataCy("view-locations")
.should("exist")
.should("be.visible")
.click();
cy.contains("Location List", { matchCase: false }).should("be.visible");
});
});
I tried by applying click ({force: true}). Still it’s not working.