Skip to content

Commit

Permalink
IVYPORTAL-18153 Fix GUI tests - Try out to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lttung-axonivy committed Dec 18, 2024
1 parent ca2838d commit f35d5d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public void inputValue(String employee, String from, String to, String represent
$(By.id("leave-request:substitute")).sendKeys(representation);
$(By.id("leave-request:from_input")).sendKeys(from);
$(By.id("leave-request:to_input")).sendKeys(to);
clickByJavaScript($("div[id$='content']"));
clickByJavaScript($("form[id$='leave-request']"));
$("div[id$='from_panel']").shouldBe(Condition.disappear);
$("div[id$='to_panel']").shouldBe(Condition.disappear);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public void testNavigateAfterFinishedTaskToCaseDetails() {
String today = LocalDateTime.now().format(DateTimeFormatter.ofPattern(DateTimePattern.DATE_TIME_PATTERN));
taskTemplatePage.inputField("[id$='payment-request:from_input']", today);

taskTemplatePage.clickByJavaScript($("div[id$='content']"));
taskTemplatePage.clickByJavaScript($("form[id$='payment-request']"));
$("div[id$='from_panel']").shouldBe(Condition.disappear);
taskTemplatePage.clickOnSubmitButton();
caseDetailsPage = new CaseDetailsPage();
Expand Down

0 comments on commit f35d5d3

Please sign in to comment.