From a050b1de6e3bd5659b8f5c728708473d29a076ab Mon Sep 17 00:00:00 2001 From: tphvu-axonivy Date: Mon, 2 Dec 2024 09:22:03 +0700 Subject: [PATCH] IVYPORTAL-17542-Use-latest-web-tester-to-run-all-tests - handle feedback --- .../axonivy/portal/selenium/page/NewDashboardPage.java | 9 --------- .../com/axonivy/portal/selenium/test/ChatTest.java | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/NewDashboardPage.java b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/NewDashboardPage.java index e26383f390..aa73b4029c 100644 --- a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/NewDashboardPage.java +++ b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/NewDashboardPage.java @@ -6,8 +6,6 @@ import static com.codeborne.selenide.Selenide.$; import static com.codeborne.selenide.Selenide.$$; -import java.util.List; - import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.Keys; @@ -222,13 +220,6 @@ public SelenideElement getDisabledMoreInformationLink() { return getProcessActionMenu().$$("span[class$='ui-menuitem-text']").filter(Condition.text("More Information")).first(); } - -// COMMENT OUT SINCE NO USAGE FOUND IN THE SOURCE -// private SelenideElement getProcessActionMenu() { -// $("div#process-action-group").shouldBe(getClickableCondition(), DEFAULT_TIMEOUT).click(); -// return $("div[id$='process-action-menu']").shouldBe(Condition.appear, DEFAULT_TIMEOUT); -// } - private SelenideElement getProcessActionMenu() { if (!$("[id$=':process-action-menu']").isDisplayed()) { $("button[id$=':process-action-button']").shouldBe(Condition.appear, DEFAULT_TIMEOUT) diff --git a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/ChatTest.java b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/ChatTest.java index c420ad1fd5..e413784b98 100644 --- a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/ChatTest.java +++ b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/ChatTest.java @@ -19,7 +19,7 @@ import ch.ivyteam.ivy.project.portal.test.Responsible; -@IvyWebTest(headless = false) +@IvyWebTest public class ChatTest extends BaseTest { private static final String ENABLE_PRIVATE_CHAT_SETTING = Variable.ENABLE_PRIVATE_CHAT.getKey(); private static final String ENABLE_GROUP_CHAT_SETTING = Variable.ENABLE_GROUP_CHAT.getKey();