diff --git a/workflow/workflow-demos-test/src_test/workflow/businessdata/WebTestBusinessCaseDataWorkflowIT.java b/workflow/workflow-demos-test/src_test/workflow/businessdata/WebTestBusinessCaseDataWorkflowIT.java index 4694f64dd..2f71f7d95 100644 --- a/workflow/workflow-demos-test/src_test/workflow/businessdata/WebTestBusinessCaseDataWorkflowIT.java +++ b/workflow/workflow-demos-test/src_test/workflow/businessdata/WebTestBusinessCaseDataWorkflowIT.java @@ -41,7 +41,7 @@ void testInterview() $(By.id("form:interviewLastName")).sendKeys("Muster"); $(By.id("form:saveAndPark")).click(); - $$("table tr a").find(text("6.1: Save BusinessCaseData When Park Task")).click(); + $(By.id("tasksForm:tasks:0:taskName")).shouldHave(text("6.1: Save BusinessCaseData When Park Task")).click(); $(By.id("taskName")).shouldHave(text("6.1: Save BusinessCaseData When Park Task")); $(By.id("actionMenuForm:taskStartBtn")).shouldBe(visible).click(); Selenide.switchTo().frame("iFrame");