From 1fd137f52fcb852fe42250abb75ff18ae88a167d Mon Sep 17 00:00:00 2001 From: SupaJoon Date: Mon, 6 Nov 2023 15:27:44 -0500 Subject: [PATCH] DEVPROD-359: Fix task_table sort button flake (#2134) --- cypress/integration/version/task_table.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cypress/integration/version/task_table.ts b/cypress/integration/version/task_table.ts index 07f28d7103..76c8fa8f48 100644 --- a/cypress/integration/version/task_table.ts +++ b/cypress/integration/version/task_table.ts @@ -18,6 +18,9 @@ describe("Task table", () => { it("Updates the url when column headers are clicked", () => { cy.visit(pathTasks); waitForTaskTable(); + // TODO: Remove wait in DEVPROD-597. + // eslint-disable-next-line cypress/no-unnecessary-waiting + cy.wait(200); cy.location("search").should( "contain", "sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC" @@ -83,7 +86,8 @@ describe("Task table", () => { }); ["NAME", "STATUS", "BASE_STATUS", "VARIANT"].forEach((sortBy) => { - // TODO: This test doesn't work bc of issues with assertCorrectRequestVariables + // TODO: This test doesn't work bc of issues with assertCorrectRequestVariables. + // Remove skip in DEVPROD-597. it.skip(`Fetches tasks sorted by ${sortBy} when ${sortBy} header is clicked`, () => { // clickSorterAndAssertTasksAreFetched(sortBy); });