test: remove optional delete anban test case
This commit is contained in:
parent
11146bb1cc
commit
1678d82a69
1 changed files with 0 additions and 22 deletions
|
|
@ -4,28 +4,6 @@ context("Kanban Board", () => {
|
||||||
cy.visit("/desk");
|
cy.visit("/desk");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Delete ToDo Kanban from list view if it exists", () => {
|
|
||||||
cy.go_to_list("Kanban Board");
|
|
||||||
|
|
||||||
cy.get(".list-row-container").should("exist");
|
|
||||||
|
|
||||||
cy.get(".list-row-container").then(($list_row) => {
|
|
||||||
cy.contains(".list-row-container", "ToDo Kanban").then(($row) => {
|
|
||||||
if (!$row.length) {
|
|
||||||
cy.log("ToDo Kanban does not exist — skipping delete.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
cy.wrap($row).find(".list-row-checkbox").check({ force: true });
|
|
||||||
|
|
||||||
cy.get(".actions-btn-group > .btn").contains("Actions").click();
|
|
||||||
cy.get('.actions-btn-group > .dropdown-menu [data-label="Delete"]').click();
|
|
||||||
|
|
||||||
cy.click_modal_primary_button("Yes");
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
it("Create ToDo Kanban", () => {
|
it("Create ToDo Kanban", () => {
|
||||||
cy.visit("/desk/todo");
|
cy.visit("/desk/todo");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue