diff --git a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskIFrameTemplatePage.java b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskIFrameTemplatePage.java index 208d9023cb..001322d08c 100644 --- a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskIFrameTemplatePage.java +++ b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskIFrameTemplatePage.java @@ -220,6 +220,9 @@ 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']")); + $("div[id$='from_panel']").shouldBe(Condition.disappear); + $("div[id$='to_panel']").shouldBe(Condition.disappear); } public void inputField(String cssSelector, String value) {