From 2cab70c1c891fe736e225353f9b0bd7995bad41f Mon Sep 17 00:00:00 2001 From: Mohamed Khelif Date: Mon, 26 Feb 2024 16:59:41 -0500 Subject: [PATCH] Update task links in task queue tests --- cypress/integration/task/task_queue_position.ts | 2 +- cypress/integration/taskQueue/route.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cypress/integration/task/task_queue_position.ts b/cypress/integration/task/task_queue_position.ts index d8d08a947e..4cebc4cb6d 100644 --- a/cypress/integration/task/task_queue_position.ts +++ b/cypress/integration/task/task_queue_position.ts @@ -10,7 +10,7 @@ describe("Task Queue Position", () => { .should("have.attr", "href") .and( "eq", - "/task-queue/archlinux-test/evergreen_lint_lint_service_patch_5e823e1f28baeaa22ae00823d83e03082cd148ab_5e4ff3abe3c3317e352062e4_20_02_21_15_13_48", + "/task-queue/archlinux-test?taskId=evergreen_lint_lint_service_patch_5e823e1f28baeaa22ae00823d83e03082cd148ab_5e4ff3abe3c3317e352062e4_20_02_21_15_13_48", ); }); diff --git a/cypress/integration/taskQueue/route.ts b/cypress/integration/taskQueue/route.ts index 526d059c20..4cbbe72088 100644 --- a/cypress/integration/taskQueue/route.ts +++ b/cypress/integration/taskQueue/route.ts @@ -54,7 +54,7 @@ describe("Task Queue", () => { it("Scrolls to current task if taskId param in url", () => { cy.visit( - "/task-queue/osx-108/evergreen_lint_lint_service_patch_5e823e1f28baeaa22ae00823d83e03082cd148ab_5e4ff3abe3c3317e352062e4_20_02_21_15_13_48", + "/task-queue/osx-108?taskId=evergreen_lint_lint_service_patch_5e823e1f28baeaa22ae00823d83e03082cd148ab_5e4ff3abe3c3317e352062e4_20_02_21_15_13_48", ); cy.dataCy("task-queue-table").should("exist"); cy.get(".ant-table-row-selected").should("exist"); @@ -66,7 +66,7 @@ describe("Task Queue", () => { it("Task links goes to Spruce for both patches and mainline commits", () => { cy.visit( - "/task-queue/osx-108/evergreen_lint_lint_service_patch_5e823e1f28baeaa22ae00823d83e03082cd148ab_5e4ff3abe3c3317e352062e4_20_02_21_15_13_48", + "/task-queue/osx-108?taskId=evergreen_lint_lint_service_patch_5e823e1f28baeaa22ae00823d83e03082cd148ab_5e4ff3abe3c3317e352062e4_20_02_21_15_13_48", ); // patch