Skip to content

Commit

Permalink
IVYPORTAL-17542-Use-latest-web-tester-to-run-all-tests
Browse files Browse the repository at this point in the history
- handle feedback
  • Loading branch information
tphvu-axonivy committed Dec 2, 2024
1 parent 11a7043 commit a050b1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a050b1d

Please sign in to comment.