File tree Expand file tree Collapse file tree
bellatrix.servicenow/src/main/java/solutions/bellatrix/servicenow/pages/uib/pages/baseUIBPage Expand file tree Collapse file tree Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments