Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
DEVPROD-359: Fix task_table sort button flake (#2134)
Browse files Browse the repository at this point in the history
  • Loading branch information
SupaJoon authored Nov 6, 2023
1 parent 5f3fdae commit 1fd137f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cypress/integration/version/task_table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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);
});
Expand Down

0 comments on commit 1fd137f

Please sign in to comment.