Skip to content

Commit 7d97fe4

Browse files
committed
Add UIB features to servicenow module
1 parent ddc4cd9 commit 7d97fe4

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

  • bellatrix.servicenow/src/main/java/solutions/bellatrix/servicenow/pages/uib/pages/baseUIBPage

bellatrix.servicenow/src/main/java/solutions/bellatrix/servicenow/pages/uib/pages/baseUIBPage/Map.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,11 @@ public Button closePopUp()
1818
return customUiMainMacroponent().createByCss(Button.class,"div > div.controls.info > now-button-iconic");
1919
}
2020

21-
22-
23-
24-
25-
26-
27-
28-
2921
public Button tabWithShadowDom(String tabName) {
3022
var xpathLocator = String.format("//div[contains(@class, 'tabset-wrapper')]/descendant::span[@class='now-tab-label'][text()='%s']/ancestor::button[@role='tab']".formatted(tabName));
3123
return customUiMainMacroponent().createByXPath(Button.class, xpathLocator);
3224
}
3325

34-
35-
36-
3726
protected ShadowRoot recordInputWithShadowDom(String label) {
3827
var xpathLocator = String.format("//now-record-typeahead[@name='%s']", label);
3928
return customUiMainMacroponent().createByXPath(ShadowRoot.class, xpathLocator);
@@ -108,6 +97,4 @@ public TextInput inputField(String inputName) {
10897
public TextArea textAreaField(String textAreaName) {
10998
return textAreaWithShadowDom(textAreaName).createByXPath(TextArea.class, "//textarea");
11099
}
111-
112-
113100
}

0 commit comments

Comments
 (0)