From 9e4be7192e568cf12061f39d7dc7d824c9169f45 Mon Sep 17 00:00:00 2001 From: Abhimanyu Saharan Date: Wed, 25 Feb 2026 03:14:56 +0530 Subject: [PATCH] test(e2e): ensure delete task button is visible and scrolls into view --- frontend/cypress/e2e/board_tasks.cy.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/cypress/e2e/board_tasks.cy.ts b/frontend/cypress/e2e/board_tasks.cy.ts index 5c5d9145..c347c077 100644 --- a/frontend/cypress/e2e/board_tasks.cy.ts +++ b/frontend/cypress/e2e/board_tasks.cy.ts @@ -284,6 +284,7 @@ describe("/boards/:id task board", () => { // Delete task via delete dialog. cy.get('[aria-label="Edit task"]').within(() => { cy.contains("button", /^Delete task$/) + .scrollIntoView() .should("be.visible") .and("not.be.disabled") .click(); @@ -291,6 +292,7 @@ describe("/boards/:id task board", () => { cy.get('[aria-label="Delete task"]').should("be.visible"); cy.get('[aria-label="Delete task"]').within(() => { cy.contains("button", /^Delete task$/) + .scrollIntoView() .should("be.visible") .and("not.be.disabled") .click();