From 3602aad81e87a59ea49aa1b02640be167125679f Mon Sep 17 00:00:00 2001 From: Dan Good Date: Mon, 20 Nov 2023 15:04:35 +0000 Subject: [PATCH] Updated verifyRegionAndLAMarkedAsComplete() function to work with 'app-task-list__item' index/subscript 4 from index/subscript 3 in taskListPage.ts page object --- .../cypress/pages/taskListPage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.CypressTests/cypress/pages/taskListPage.ts b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.CypressTests/cypress/pages/taskListPage.ts index 0ae7c1657..a7fc17d8c 100644 --- a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.CypressTests/cypress/pages/taskListPage.ts +++ b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.CypressTests/cypress/pages/taskListPage.ts @@ -41,7 +41,7 @@ class TaskListPage { } public verifyRegionAndLAMarkedAsComplete(): this { - cy.getByClass("app-task-list__item").eq(3).contains("Completed"); + cy.getByClass("app-task-list__item").eq(4).contains("Completed"); return this; }