@sap_oss/wdio-qmate-service 3.5.13 → 3.5.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/docs/doc.md +2 -2
  2. package/docs/sections/features/selectors.md +1 -1
  3. package/lib/reuse/constants.d.ts +1 -0
  4. package/lib/reuse/constants.js +5 -0
  5. package/lib/reuse/constants.js.map +1 -0
  6. package/lib/reuse/modules/ui5/mockserver.d.ts +2 -2
  7. package/lib/reuse/modules/ui5/mockserver.js +2 -2
  8. package/lib/reuse/modules/ui5/userInteraction.d.ts +3 -5
  9. package/lib/reuse/modules/ui5/userInteraction.js +40 -68
  10. package/lib/reuse/modules/ui5/userInteraction.js.map +1 -1
  11. package/package.json +2 -2
  12. package/reuseApi.json +1 -1
  13. package/test/core/functional/chaining/test.conf.js +3 -1
  14. package/test/core/functional/locators/ancestorProperties.test.js +4 -3
  15. package/test/core/functional/locators/childProperties.test.js +2 -1
  16. package/test/core/functional/locators/descendantProperties.test.js +3 -2
  17. package/test/core/functional/locators/parentProperties.test.js +2 -1
  18. package/test/core/functional/locators/test.locator.conf.js +2 -1
  19. package/test/core/functional/nativeBrowser/runInBrowser.test.js +3 -1
  20. package/test/core/functional/nativeBrowser/test.conf.js +2 -1
  21. package/test/core/functional/nonUi5/test.conf.js +2 -1
  22. package/test/core/functional/ui5Properties/getAggregations.test.js +4 -3
  23. package/test/core/functional/ui5Properties/getProperties.test.js +5 -4
  24. package/test/core/functional/ui5Properties/test.conf.js +2 -1
  25. package/test/core/functional/uiveri5/test.conf.js +2 -1
  26. package/test/core/testIntegration/config.js +2 -1
  27. package/test/core/testIntegration/configMultiCombo.js +2 -1
  28. package/test/core/testIntegration/configTable.js +2 -1
  29. package/test/reuse/common/assertion/test.assertion.conf.js +2 -1
  30. package/test/reuse/common/navigation/navigateToUrl.spec.js +3 -1
  31. package/test/reuse/common/navigation/navigateToUrlAndRetry.spec.js +3 -1
  32. package/test/reuse/common/userInteraction/clearAndFillActive.spec.js +4 -3
  33. package/test/reuse/common/userInteraction/clearAndFillActiveAndRetry.spec.js +4 -3
  34. package/test/reuse/common/userInteraction/fillActive.spec.js +7 -6
  35. package/test/reuse/common/userInteraction/fillActiveAndRetry.spec.js +5 -4
  36. package/test/reuse/common/userInteraction/pressKey.spec.js +2 -1
  37. package/test/reuse/nonUi5/assertion/expectCssPropertyValueToBe.spec.js +5 -4
  38. package/test/reuse/nonUi5/assertion/expectTextToBe.spec.js +5 -4
  39. package/test/reuse/nonUi5/assertion/expectToBeVisible.spec.js +2 -1
  40. package/test/reuse/nonUi5/assertion/expectValueToBe.spec.js +3 -2
  41. package/test/reuse/nonUi5/assertion/test.assertion.conf.js +2 -1
  42. package/test/reuse/nonUi5/assertion/test.assertion.sauceLabs.conf.js +3 -1
  43. package/test/reuse/nonUi5/element/getAttributeValue.spec.js +4 -3
  44. package/test/reuse/nonUi5/element/getByChild.spec.js +5 -4
  45. package/test/reuse/nonUi5/element/getByClass.spec.js +5 -4
  46. package/test/reuse/nonUi5/element/getByCss.spec.js +4 -3
  47. package/test/reuse/nonUi5/element/getByCssContainingText.spec.js +5 -4
  48. package/test/reuse/nonUi5/element/getById.spec.js +4 -3
  49. package/test/reuse/nonUi5/element/getByParent.spec.js +5 -4
  50. package/test/reuse/nonUi5/element/getByXPath.spec.js +3 -2
  51. package/test/reuse/nonUi5/element/getCssPropertyValue.spec.js +4 -3
  52. package/test/reuse/nonUi5/element/getValue.spec.js +4 -3
  53. package/test/reuse/nonUi5/element/highlight.spec.js +3 -1
  54. package/test/reuse/nonUi5/element/isEnabled.spec.js +4 -3
  55. package/test/reuse/nonUi5/element/isPresent.spec.js +5 -3
  56. package/test/reuse/nonUi5/element/isPresentByCss.spec.js +3 -2
  57. package/test/reuse/nonUi5/element/isPresentByXPath.spec.js +3 -2
  58. package/test/reuse/nonUi5/element/setInnerHTML.spec.js +2 -2
  59. package/test/reuse/nonUi5/element/test.element.conf.js +2 -1
  60. package/test/reuse/nonUi5/element/test.element.sauceLabs.conf.js +3 -1
  61. package/test/reuse/nonUi5/userInteraction/clickElementInSvg.spec.js +2 -2
  62. package/test/reuse/nonUi5/userInteraction/doubleClick.spec.js +2 -2
  63. package/test/reuse/nonUi5/userInteraction/moveCursorAndClick.spec.js +2 -1
  64. package/test/reuse/nonUi5/userInteraction/rightClick.spec.js +2 -1
  65. package/test/reuse/nonUi5/userInteraction/scrollToElement.spec.js +4 -3
  66. package/test/reuse/ui5/assertion/expectCssPropertyValueToBe.spec.js +3 -2
  67. package/test/reuse/ui5/assertion/expectMessageToastTextToBe.spec.js +3 -2
  68. package/test/reuse/ui5/assertion/expectToBeVisible.spec.js +2 -1
  69. package/test/reuse/ui5/assertion/expectToBeVisibleInViewport.spec.js +2 -1
  70. package/test/reuse/ui5/assertion/expectValidationError.spec.js +3 -2
  71. package/test/reuse/ui5/assertion/expectValidationSuccess.spec.js +3 -2
  72. package/test/reuse/ui5/assertion/expectValueToBeDefined.spec.js +2 -1
  73. package/test/reuse/ui5/assertion/test.assertion.conf.js +2 -1
  74. package/test/reuse/ui5/assertion/test.assertion.sauceLab.conf.js +3 -1
  75. package/test/reuse/ui5/confirmationDialog/clickButton.spec.js +3 -2
  76. package/test/reuse/ui5/confirmationDialog/clickNo.spec.js +3 -2
  77. package/test/reuse/ui5/confirmationDialog/clickOk.spec.js +2 -1
  78. package/test/reuse/ui5/confirmationDialog/clickYes.spec.js +2 -1
  79. package/test/reuse/ui5/confirmationDialog/test.confirmationDialog.conf.js +2 -1
  80. package/test/reuse/ui5/confirmationDialog/test.confirmationDialog.sauceLab.conf.js +3 -1
  81. package/test/reuse/ui5/control/focus.spec.js +5 -4
  82. package/test/reuse/ui5/control/getAggregationProperty.spec.js +3 -2
  83. package/test/reuse/ui5/control/getAssociationProperty.spec.js +3 -2
  84. package/test/reuse/ui5/control/test.control.conf.js +2 -1
  85. package/test/reuse/ui5/control/test.control.sauceLab.conf.js +2 -1
  86. package/test/reuse/ui5/date/fillRange.spec.js +3 -2
  87. package/test/reuse/ui5/date/pick.spec.js +5 -4
  88. package/test/reuse/ui5/date/pickRange.spec.js +5 -4
  89. package/test/reuse/ui5/date/pickWithTime.spec.js +2 -1
  90. package/test/reuse/ui5/element/getByChild.spec.js +4 -4
  91. package/test/reuse/ui5/element/getByParent.spec.js +4 -4
  92. package/test/reuse/ui5/element/getByText.spec.js +2 -1
  93. package/test/reuse/ui5/element/getCssPropertyValue.spec.js +3 -2
  94. package/test/reuse/ui5/element/getPropertyValue.spec.js +2 -1
  95. package/test/reuse/ui5/element/test.element.conf.js +3 -1
  96. package/test/reuse/ui5/element/test.element.sauceLab.conf.js +2 -1
  97. package/test/reuse/ui5/element/waitForAll.spec.js +3 -2
  98. package/test/reuse/ui5/errorDialog/clickClose.spec.js +2 -1
  99. package/test/reuse/ui5/errorDialog/expectToBeVisible.spec.js +2 -1
  100. package/test/reuse/ui5/mockserver_qunit/test/flpSandboxMockServer.html +2 -2
  101. package/test/reuse/ui5/mockserver_qunit/test/flpSandboxMockServerAllData.html +2 -2
  102. package/test/reuse/ui5/mockserver_qunit/test/unit/unitTests.qunit.html +1 -1
  103. package/test/reuse/ui5/navigationBar/clickSapLogo.spec.js +2 -1
  104. package/test/reuse/ui5/navigationBar/test.navigationBar.conf.js +2 -1
  105. package/test/reuse/ui5/navigationBar/test.navigationBar.sauceLab.conf.js +2 -1
  106. package/test/reuse/ui5/session/logout.spec.js +2 -2
  107. package/test/reuse/ui5/table/clickSettingsButton.spec.js +3 -2
  108. package/test/reuse/ui5/table/deselectAllRows.spec.js +4 -3
  109. package/test/reuse/ui5/table/deselectRowByIndex.spec.js +4 -3
  110. package/test/reuse/ui5/table/getAllColumnValuesByName.spec.js +2 -1
  111. package/test/reuse/ui5/table/getRowSelectorByIndex.spec.js +2 -1
  112. package/test/reuse/ui5/table/getSelectorForRowByIndex.spec.js +6 -5
  113. package/test/reuse/ui5/table/getSelectorsForRowsByValues.spec.js +7 -6
  114. package/test/reuse/ui5/table/getTotalNumberOfRows.spec.js +4 -3
  115. package/test/reuse/ui5/table/getTotalNumberOfRowsByValues.spec.js +6 -5
  116. package/test/reuse/ui5/table/openItemByIndex.spec.js +4 -3
  117. package/test/reuse/ui5/table/openItemByValues.spec.js +4 -3
  118. package/test/reuse/ui5/table/selectAllRows.spec.js +4 -3
  119. package/test/reuse/ui5/table/selectRowByIndex.spec.js +4 -3
  120. package/test/reuse/ui5/table/selectRowByValues.spec.js +5 -4
  121. package/test/reuse/ui5/table/sortColumnAscending.spec.js +4 -3
  122. package/test/reuse/ui5/table/sortColumnDescending.spec.js +3 -2
  123. package/test/reuse/ui5/userInteraction/check.spec.js +4 -3
  124. package/test/reuse/ui5/userInteraction/clear.spec.js +4 -3
  125. package/test/reuse/ui5/userInteraction/clearAndFill.spec.js +7 -6
  126. package/test/reuse/ui5/userInteraction/clearAndFillAndRetry.spec.js +6 -5
  127. package/test/reuse/ui5/userInteraction/clearAndFillSmartFieldInput.spec.js +3 -2
  128. package/test/reuse/ui5/userInteraction/clearAndFillSmartFieldInputAndRetry.spec.js +2 -1
  129. package/test/reuse/ui5/userInteraction/clearAndRetry.spec.js +3 -2
  130. package/test/reuse/ui5/userInteraction/click.spec.js +7 -6
  131. package/test/reuse/ui5/userInteraction/clickAndRetry.spec.js +4 -3
  132. package/test/reuse/ui5/userInteraction/clickSelectArrow.spec.js +3 -2
  133. package/test/reuse/ui5/userInteraction/clickSelectArrowAndRetry.spec.js +4 -3
  134. package/test/reuse/ui5/userInteraction/clickTab.spec.js +4 -3
  135. package/test/reuse/ui5/userInteraction/doubleClick.spec.js +5 -4
  136. package/test/reuse/ui5/userInteraction/dragAndDrop.spec.js +2 -1
  137. package/test/reuse/ui5/userInteraction/fill.spec.js +6 -5
  138. package/test/reuse/ui5/userInteraction/fillAndRetry.spec.js +5 -4
  139. package/test/reuse/ui5/userInteraction/mouseOverElement.spec.js +3 -2
  140. package/test/reuse/ui5/userInteraction/openF4Help.spec.js +3 -2
  141. package/test/reuse/ui5/userInteraction/rightClick.spec.js +5 -4
  142. package/test/reuse/ui5/userInteraction/scrollToElement.spec.js +5 -4
  143. package/test/reuse/ui5/userInteraction/searchFor.spec.js +5 -4
  144. package/test/reuse/ui5/userInteraction/selectBox.spec.js +5 -4
  145. package/test/reuse/ui5/userInteraction/selectCombobox.spec.js +5 -4
  146. package/test/reuse/ui5/userInteraction/selectFromTab.spec.js +2 -1
  147. package/test/reuse/ui5/userInteraction/selectMultiComboBox.spec.js +6 -5
  148. package/test/reuse/ui5/userInteraction/test.userInteraction.conf.js +2 -1
  149. package/test/reuse/ui5/userInteraction/test.userInteraction.sauceLab.conf.js +2 -1
  150. package/test/reuse/ui5/userInteraction/uncheck.spec.js +4 -3
  151. package/test/reuse/util/browser/back.spec.js +2 -1
  152. package/test/reuse/util/browser/forward.spec.js +2 -1
  153. package/test/reuse/util/browser/getBaseUrl.spec.js +2 -1
  154. package/test/reuse/util/browser/getCurrentWindow.spec.js +3 -2
  155. package/test/reuse/util/browser/setBaseUrl.spec.js +3 -2
  156. package/test/reuse/util/browser/switchToDefaultContent.spec.js +2 -1
  157. package/test/reuse/util/browser/switchToIframe.spec.js +3 -2
  158. package/test/reuse/util/browser/switchToWindow.spec.js +3 -2
  159. package/test/reuse/util/browser/test.browser.conf.js +3 -1
  160. package/test/reuse/util/component/test.component.conf.js +2 -1
  161. package/test/reuse/util/console/test.console.conf.js +2 -1
  162. package/test/reuse/util/data/test.data.conf.js +2 -1
  163. package/test/reuse/util/data/test.data.privacy.conf.js +2 -1
  164. package/test/reuse/util/file/test.file.conf.js +2 -1
  165. package/test/reuse/util/file/upload.spec.js +3 -2
  166. package/test/reuse/util/formatter/test.formatter.conf.js +2 -1
  167. package/test/reuse/util/system/test.system.conf.js +2 -1
  168. package/test/watchMode/config.js +2 -2
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
2
3
  const {
3
4
  handleCookiesConsent
4
5
  } = require("../../../helper/utils");
@@ -6,7 +7,7 @@ const {
6
7
  describe("table - sortColumnAscending - smartTable", function () {
7
8
 
8
9
  it("Preparation", async function () {
9
- await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
10
+ await browser.url(`${BASE_URL}/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable`);
10
11
  await handleCookiesConsent();
11
12
  await util.browser.switchToIframe("[id='sampleFrame']");
12
13
  });
@@ -37,7 +38,7 @@ describe("table - sortColumnAscending - smartTable with tableSelector", function
37
38
  };
38
39
 
39
40
  it("Preparation", async function () {
40
- await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
41
+ await browser.url(`${BASE_URL}/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable`);
41
42
  await handleCookiesConsent();
42
43
  await util.browser.switchToIframe("[id='sampleFrame']");
43
44
  });
@@ -63,7 +64,7 @@ describe("table - sortColumnAscending - smartTable with tableSelector", function
63
64
  describe("table - sortColumnAscending - smartTable with index (legacy)", function () {
64
65
 
65
66
  it("Preparation", async function () {
66
- await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
67
+ await browser.url(`${BASE_URL}/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable`);
67
68
  await handleCookiesConsent();
68
69
  await util.browser.switchToIframe("[id='sampleFrame']");
69
70
  });
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
2
3
  const {
3
4
  handleCookiesConsent
4
5
  } = require("../../../helper/utils");
@@ -6,7 +7,7 @@ const {
6
7
  describe("table - sortColumnDescending - smartTable", function () {
7
8
 
8
9
  it("Preparation", async function () {
9
- await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
10
+ await browser.url(`${BASE_URL}/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable`);
10
11
  await handleCookiesConsent();
11
12
  await util.browser.switchToIframe("[id='sampleFrame']");
12
13
  });
@@ -37,7 +38,7 @@ describe("table - sortColumnDescending - smartTable with tableSelector", functio
37
38
  };
38
39
 
39
40
  it("Preparation", async function () {
40
- await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
41
+ await browser.url(`${BASE_URL}/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable`);
41
42
  await handleCookiesConsent();
42
43
  await util.browser.switchToIframe("[id='sampleFrame']");
43
44
  });
@@ -1,3 +1,4 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const { handleCookiesConsent } = require("../../../helper/utils");
2
3
 
3
4
  describe("userInteraction - check - checkbox (unchecked)", function () {
@@ -10,7 +11,7 @@ describe("userInteraction - check - checkbox (unchecked)", function () {
10
11
  };
11
12
 
12
13
  it("Preparation", async function () {
13
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.CheckBox/sample/sap.m.sample.CheckBox");
14
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.CheckBox/sample/sap.m.sample.CheckBox`);
14
15
  await handleCookiesConsent();
15
16
  await util.browser.switchToIframe("[id='sampleFrame']");
16
17
  });
@@ -34,7 +35,7 @@ describe("userInteraction - check - checkbox (checked)", function () {
34
35
  };
35
36
 
36
37
  it("Preparation", async function () {
37
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.CheckBox/sample/sap.m.sample.CheckBox");
38
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.CheckBox/sample/sap.m.sample.CheckBox`);
38
39
  await handleCookiesConsent();
39
40
  await util.browser.switchToIframe("[id='sampleFrame']");
40
41
  });
@@ -58,7 +59,7 @@ describe("userInteraction - check - checkbox (error)", function () {
58
59
  };
59
60
 
60
61
  it("Preparation", async function () {
61
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.CheckBox/sample/sap.m.sample.CheckBox");
62
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.CheckBox/sample/sap.m.sample.CheckBox`);
62
63
  await handleCookiesConsent();
63
64
  await util.browser.switchToIframe("[id='sampleFrame']");
64
65
  });
@@ -1,3 +1,4 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const {
2
3
  handleCookiesConsent
3
4
  } = require("../../../helper/utils");
@@ -12,7 +13,7 @@ describe("userInteraction - clear", function () {
12
13
  };
13
14
 
14
15
  it("Preparation", async function () {
15
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription");
16
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription`);
16
17
  await handleCookiesConsent();
17
18
  await util.browser.switchToIframe("[id='sampleFrame']");
18
19
  });
@@ -31,7 +32,7 @@ describe("userInteraction - clear", function () {
31
32
  describe("userInteraction - clear with invalid selector", function () {
32
33
 
33
34
  it("Preparation", async function () {
34
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription");
35
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription`);
35
36
  await handleCookiesConsent();
36
37
  await util.browser.switchToIframe("[id='sampleFrame']");
37
38
  });
@@ -59,7 +60,7 @@ describe("userInteraction - clear third input field", function () {
59
60
  let index = 2;
60
61
 
61
62
  it("Preparation", async function () {
62
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription");
63
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription`);
63
64
  await handleCookiesConsent();
64
65
  await util.browser.switchToIframe("[id='sampleFrame']");
65
66
  });
@@ -1,3 +1,4 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const {
2
3
  handleCookiesConsent
3
4
  } = require("../../../helper/utils");
@@ -12,7 +13,7 @@ describe("userInteraction - clearAndFill - Input", function () {
12
13
  const value = "ABC";
13
14
 
14
15
  it("Preparation", async function () {
15
- await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputValueState");
16
+ await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.m.Input/sample/sap.m.sample.InputValueState`);
16
17
  await handleCookiesConsent();
17
18
  await util.browser.switchToIframe("[id='sampleFrame']");
18
19
  });
@@ -42,7 +43,7 @@ describe("userInteraction - clearAndFill - SmartField", function () {
42
43
  const value = "50";
43
44
 
44
45
  it("Preparation", async function () {
45
- await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview");
46
+ await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview`);
46
47
  await handleCookiesConsent();
47
48
  await util.browser.switchToIframe("[id='sampleFrame']");
48
49
  });
@@ -69,7 +70,7 @@ describe("userInteraction - clearAndFill - TextArea", function () {
69
70
  const value = "Hello World!";
70
71
 
71
72
  it("Preparation", async function () {
72
- await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview");
73
+ await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview`);
73
74
  await handleCookiesConsent();
74
75
  await util.browser.switchToIframe("[id='sampleFrame']");
75
76
  });
@@ -95,7 +96,7 @@ describe("userInteraction - clearAndFill - ComboBox", function () {
95
96
  const value = "Germany";
96
97
 
97
98
  it("Preparation", async function () {
98
- await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.ComboBox/sample/sap.m.sample.ComboBox");
99
+ await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.m.ComboBox/sample/sap.m.sample.ComboBox`);
99
100
  await handleCookiesConsent();
100
101
  await util.browser.switchToIframe("[id='sampleFrame']");
101
102
  await ui5.userInteraction.selectComboBox(selector, "Greece");
@@ -122,7 +123,7 @@ describe("userInteraction - clearAndFill - MultiComboBox", function () {
122
123
  const value = "Copymaster";
123
124
 
124
125
  it("Preparation", async function () {
125
- await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.MultiComboBox/sample/sap.m.sample.MultiComboBox");
126
+ await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.m.MultiComboBox/sample/sap.m.sample.MultiComboBox`);
126
127
  await handleCookiesConsent();
127
128
  await util.browser.switchToIframe("[id='sampleFrame']");
128
129
  await ui5.userInteraction.selectMultiComboBox(selector, ["Comfort Senior", "Comfort Easy"]);
@@ -149,7 +150,7 @@ describe("userInteraction - clearAndFill - Input - error case", function () {
149
150
  const value = "ABC";
150
151
 
151
152
  it("Preparation", async function () {
152
- await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputValueState");
153
+ await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.m.Input/sample/sap.m.sample.InputValueState`);
153
154
  await handleCookiesConsent();
154
155
  await util.browser.switchToIframe("[id='sampleFrame']");
155
156
  });
@@ -1,9 +1,10 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const { handleCookiesConsent } = require("../../../helper/utils");
2
3
 
3
4
  describe("userInteraction - clearAndFillAndRetry - smartField", function () {
4
5
  it("Preparation", async function () {
5
6
  await browser.navigateTo(
6
- "https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview"
7
+ `${BASE_URL}/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview`
7
8
  );
8
9
  await handleCookiesConsent();
9
10
  await util.browser.switchToIframe("[id='sampleFrame']");
@@ -36,7 +37,7 @@ describe("userInteraction - clearAndFillAndRetry - smartField", function () {
36
37
  describe("userInteraction - clearAndFillAndRetry - textarea", function () {
37
38
  it("Preparation", async function () {
38
39
  await browser.navigateTo(
39
- "https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview"
40
+ `${BASE_URL}/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview`
40
41
  );
41
42
  await handleCookiesConsent();
42
43
  await util.browser.switchToIframe("[id='sampleFrame']");
@@ -61,7 +62,7 @@ describe("userInteraction - clearAndFillAndRetry - textarea", function () {
61
62
 
62
63
  describe("userInteraction - clearAndFillAndRetry - input field", function () {
63
64
  it("Preparation", async function () {
64
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription");
65
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription`);
65
66
  await handleCookiesConsent();
66
67
  await util.browser.switchToIframe("[id='sampleFrame']");
67
68
  });
@@ -86,7 +87,7 @@ describe("userInteraction - clearAndFillAndRetry - input field", function () {
86
87
 
87
88
  describe("userInteraction - clearAndFillAndRetry - invalid selector", function () {
88
89
  it("Preparation", async function () {
89
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription");
90
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription`);
90
91
  await handleCookiesConsent();
91
92
  await util.browser.switchToIframe("[id='sampleFrame']");
92
93
  });
@@ -112,7 +113,7 @@ describe("userInteraction - clearAndFillAndRetry - invalid selector", function (
112
113
 
113
114
  describe("userInteraction - clearAndFillAndRetry - wrong element", function () {
114
115
  it("Preparation", async function () {
115
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.MenuButton/sample/sap.m.sample.MenuButton");
116
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.MenuButton/sample/sap.m.sample.MenuButton`);
116
117
  await handleCookiesConsent();
117
118
  await util.browser.switchToIframe("[id='sampleFrame']");
118
119
  });
@@ -1,3 +1,4 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const { handleCookiesConsent } = require("../../../helper/utils");
2
3
 
3
4
  describe("userInteraction - clearAndFillSmartFieldInput", function () {
@@ -7,7 +8,7 @@ describe("userInteraction - clearAndFillSmartFieldInput", function () {
7
8
  let selector;
8
9
 
9
10
  it("Preparation", async function () {
10
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview");
11
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview`);
11
12
  await handleCookiesConsent();
12
13
  await util.browser.switchToIframe("[id='sampleFrame']");
13
14
  });
@@ -51,7 +52,7 @@ describe("userInteraction - clearAndFillSmartFieldInput with invalid selector",
51
52
  let selector;
52
53
 
53
54
  it("Preparation", async function () {
54
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview");
55
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview`);
55
56
  await handleCookiesConsent();
56
57
  await util.browser.switchToIframe("[id='sampleFrame']");
57
58
  });
@@ -1,10 +1,11 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const {
2
3
  handleCookiesConsent
3
4
  } = require("../../../helper/utils");
4
5
 
5
6
  describe("userInteraction - clearAndFillSmartFieldInputAndRetry", function () {
6
7
  it("Preparation", async function () {
7
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview");
8
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview`);
8
9
  await handleCookiesConsent();
9
10
  await util.browser.switchToIframe("[id='sampleFrame']");
10
11
  });
@@ -1,3 +1,4 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const {
2
3
  handleCookiesConsent
3
4
  } = require("../../../helper/utils");
@@ -13,7 +14,7 @@ describe("userInteraction - clearAndRetry", function () {
13
14
  };
14
15
 
15
16
  it("Preparation", async function () {
16
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription");
17
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription`);
17
18
  await handleCookiesConsent();
18
19
  await util.browser.switchToIframe("[id='sampleFrame']");
19
20
  });
@@ -36,7 +37,7 @@ describe("userInteraction - clearAndRetry", function () {
36
37
  describe("userInteraction - clearAndRetry with invalid selector", function () {
37
38
 
38
39
  it("Preparation", async function () {
39
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription");
40
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription`);
40
41
  await handleCookiesConsent();
41
42
  await util.browser.switchToIframe("[id='sampleFrame']");
42
43
  });
@@ -1,9 +1,10 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const { handleCookiesConsent } = require("../../../helper/utils");
2
3
 
3
4
  describe("userInteraction - click", function () {
4
5
 
5
6
  it("Preparation", async function () {
6
- await browser.navigateTo("https://sapui5.hana.ondemand.com/");
7
+ await browser.navigateTo(`${BASE_URL}/`);
7
8
  await handleCookiesConsent();
8
9
  });
9
10
 
@@ -19,14 +20,14 @@ describe("userInteraction - click", function () {
19
20
  });
20
21
 
21
22
  it("Verification", async function () {
22
- await common.assertion.expectUrlToBe("https://sapui5.hana.ondemand.com/#/api");
23
+ await common.assertion.expectUrlToBe(`${BASE_URL}/#/api`);
23
24
  });
24
25
  });
25
26
 
26
27
  describe("userInteraction - click on not displayed element", function () {
27
28
 
28
29
  it("Preparation", async function () {
29
- await browser.navigateTo("https://sapui5.hana.ondemand.com/");
30
+ await browser.navigateTo(`${BASE_URL}/`);
30
31
  await handleCookiesConsent();
31
32
  });
32
33
 
@@ -48,7 +49,7 @@ describe("userInteraction - click on not displayed element", function () {
48
49
  describe("userInteraction - click on invisible element", function () {
49
50
 
50
51
  it("Preparation", async function () {
51
- await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/category/AC/product/HT-2000");
52
+ await common.navigation.navigateToUrl(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/category/AC/product/HT-2000`);
52
53
  await handleCookiesConsent();
53
54
  });
54
55
 
@@ -75,7 +76,7 @@ describe("userInteraction - click on invisible element", function () {
75
76
  describe("userInteraction - click with selector having wildcard character(*) for metadata", function () {
76
77
 
77
78
  it("Preparation", async function () {
78
- await browser.navigateTo("https://sapui5.hana.ondemand.com/");
79
+ await browser.navigateTo(`${BASE_URL}/`);
79
80
  await handleCookiesConsent();
80
81
  });
81
82
 
@@ -91,6 +92,6 @@ describe("userInteraction - click with selector having wildcard character(*) for
91
92
  });
92
93
 
93
94
  it("Verification", async function () {
94
- await common.assertion.expectUrlToBe("https://sapui5.hana.ondemand.com/#/api");
95
+ await common.assertion.expectUrlToBe(`${BASE_URL}/#/api`);
95
96
  });
96
97
  });
@@ -1,8 +1,9 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const { handleCookiesConsent } = require("../../../helper/utils");
2
3
 
3
4
  describe("userInteraction - click and retry", function () {
4
5
  it("Preparation", async function () {
5
- await browser.navigateTo("https://sapui5.hana.ondemand.com/");
6
+ await browser.navigateTo(`${BASE_URL}/`);
6
7
  await handleCookiesConsent();
7
8
  });
8
9
 
@@ -22,13 +23,13 @@ describe("userInteraction - click and retry", function () {
22
23
  });
23
24
 
24
25
  it("Verification", async function () {
25
- await common.assertion.expectUrlToBe("https://sapui5.hana.ondemand.com/#/api");
26
+ await common.assertion.expectUrlToBe(`${BASE_URL}/#/api`);
26
27
  });
27
28
  });
28
29
 
29
30
  describe("userInteraction - click and retry on not displayed element", function () {
30
31
  it("Preparation", async function () {
31
- await browser.navigateTo("https://sapui5.hana.ondemand.com/");
32
+ await browser.navigateTo(`${BASE_URL}/`);
32
33
  await handleCookiesConsent();
33
34
  });
34
35
 
@@ -1,9 +1,10 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const { handleCookiesConsent } = require("../../../helper/utils");
2
3
 
3
4
  describe("userInteraction - clickSelectArrow", function () {
4
5
 
5
6
  it("Preparation", async function () {
6
- await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Select/sample/sap.m.sample.Select");
7
+ await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.m.Select/sample/sap.m.sample.Select`);
7
8
  await handleCookiesConsent();
8
9
  await util.browser.switchToIframe("[id='sampleFrame']");
9
10
  });
@@ -61,7 +62,7 @@ describe("userInteraction - clickSelectArrow", function () {
61
62
  describe("userInteraction - clickSelectArrow and catch an error", function () {
62
63
 
63
64
  it("Preparation", async function () {
64
- await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Select/sample/sap.m.sample.Select");
65
+ await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.m.Select/sample/sap.m.sample.Select`);
65
66
  await util.browser.refresh();
66
67
  await handleCookiesConsent();
67
68
  await util.browser.switchToIframe("[id='sampleFrame']");
@@ -1,8 +1,9 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const { handleCookiesConsent } = require("../../../helper/utils");
2
3
 
3
4
  describe("userInteraction - clickSelectArrowAndRetry", function () {
4
5
  it("Preparation", async function () {
5
- await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Select/sample/sap.m.sample.Select");
6
+ await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.m.Select/sample/sap.m.sample.Select`);
6
7
  await handleCookiesConsent();
7
8
  await util.browser.switchToIframe("[id='sampleFrame']");
8
9
  });
@@ -63,7 +64,7 @@ describe("userInteraction - clickSelectArrowAndRetry", function () {
63
64
 
64
65
  describe("userInteraction - clickSelectArrow and catch an error", function () {
65
66
  it("Preparation", async function () {
66
- await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Select/sample/sap.m.sample.Select");
67
+ await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.m.Select/sample/sap.m.sample.Select`);
67
68
  await handleCookiesConsent();
68
69
  await util.browser.switchToIframe("[id='sampleFrame']");
69
70
  });
@@ -87,7 +88,7 @@ describe("userInteraction - clickSelectArrow and catch an error", function () {
87
88
 
88
89
  describe("userInteraction - clickSelectArrowAndRetry with index > 0", function () {
89
90
  it("Preparation", async function () {
90
- await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Select/sample/sap.m.sample.SelectValueState");
91
+ await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.m.Select/sample/sap.m.sample.SelectValueState`);
91
92
  await util.browser.refresh();
92
93
  await handleCookiesConsent();
93
94
  await util.browser.switchToIframe("[id='sampleFrame']");
@@ -1,8 +1,9 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const { handleCookiesConsent } = require("../../../helper/utils");
2
3
 
3
4
  describe("userInteraction - clickTab - simple tab", function () {
4
5
  it("Preparation", async function () {
5
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/api/sap.m.IconTabBar");
6
+ await browser.navigateTo(`${BASE_URL}/#/api/sap.m.IconTabBar`);
6
7
  await handleCookiesConsent();
7
8
  });
8
9
 
@@ -33,7 +34,7 @@ describe("userInteraction - clickTab - simple tab", function () {
33
34
 
34
35
  describe("userInteraction - clickTab - multiple select values", function () {
35
36
  it("Preparation", async function () {
36
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/api/sap.m.IconTabBar");
37
+ await browser.navigateTo(`${BASE_URL}/#/api/sap.m.IconTabBar`);
37
38
  await util.browser.refresh();
38
39
  await handleCookiesConsent();
39
40
  });
@@ -68,7 +69,7 @@ describe("userInteraction - clickTab - multiple select values", function () {
68
69
 
69
70
  describe("userInteraction - clickTab - non tab element", function () {
70
71
  it("Preparation", async function () {
71
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/api/sap.m.IconTabBar");
72
+ await browser.navigateTo(`${BASE_URL}/#/api/sap.m.IconTabBar`);
72
73
  await util.browser.refresh();
73
74
  await handleCookiesConsent();
74
75
  });
@@ -1,9 +1,10 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const { handleCookiesConsent } = require("../../../helper/utils");
2
3
 
3
4
  describe("userInteraction - doubleClick", function () {
4
5
 
5
6
  it("Preparation", async function () {
6
- await browser.navigateTo("https://sapui5.hana.ondemand.com/");
7
+ await browser.navigateTo(`${BASE_URL}/`);
7
8
  await handleCookiesConsent();
8
9
  });
9
10
 
@@ -19,14 +20,14 @@ describe("userInteraction - doubleClick", function () {
19
20
  });
20
21
 
21
22
  it("Verification", async function () {
22
- await common.assertion.expectUrlToBe("https://sapui5.hana.ondemand.com/#/api");
23
+ await common.assertion.expectUrlToBe(`${BASE_URL}/#/api`);
23
24
  });
24
25
  });
25
26
 
26
27
  describe("userInteraction - doubleClick on not displayed element", function () {
27
28
 
28
29
  it("Preparation", async function () {
29
- await browser.navigateTo("https://sapui5.hana.ondemand.com/");
30
+ await browser.navigateTo(`${BASE_URL}/`);
30
31
  await handleCookiesConsent();
31
32
  });
32
33
 
@@ -48,7 +49,7 @@ describe("userInteraction - doubleClick on not displayed element", function () {
48
49
  describe("userInteraction - doubleClick on invisible element", function () {
49
50
 
50
51
  it("Preparation", async function () {
51
- await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/category/AC/product/HT-2000");
52
+ await common.navigation.navigateToUrl(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/category/AC/product/HT-2000`);
52
53
  await handleCookiesConsent();
53
54
  });
54
55
 
@@ -1,3 +1,4 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const { handleCookiesConsent } = require("../../../helper/utils");
2
3
 
3
4
  describe("userInteraction - dragAndDrop", function () {
@@ -19,7 +20,7 @@ describe("userInteraction - dragAndDrop", function () {
19
20
  };
20
21
 
21
22
  it("Preparation", async function () {
22
- await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/sdk/#/entity/sap.f.GridList/sample/sap.f.sample.GridListDragAndDrop");
23
+ await common.navigation.navigateToUrl(`${BASE_URL}/sdk/#/entity/sap.f.GridList/sample/sap.f.sample.GridListDragAndDrop`);
23
24
  await handleCookiesConsent();
24
25
  await util.browser.switchToIframe("[id='sampleFrame']");
25
26
  });
@@ -1,3 +1,4 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const { handleCookiesConsent } = require("../../../helper/utils");
2
3
 
3
4
  describe("userInteraction - fill", function () {
@@ -5,7 +6,7 @@ describe("userInteraction - fill", function () {
5
6
  let actualValue;
6
7
 
7
8
  it("Preparation", async function () {
8
- await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
9
+ await browser.navigateTo(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`);
9
10
  await handleCookiesConsent();
10
11
  });
11
12
 
@@ -34,7 +35,7 @@ describe("userInteraction - fill element with invalid selector", function () {
34
35
  let value;
35
36
 
36
37
  it("Preparation", async function () {
37
- await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
38
+ await browser.navigateTo(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`);
38
39
  await handleCookiesConsent();
39
40
  });
40
41
 
@@ -59,7 +60,7 @@ describe("userInteraction - fill element with number", function () {
59
60
  let actualValue;
60
61
 
61
62
  it("Preparation", async function () {
62
- await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
63
+ await browser.navigateTo(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`);
63
64
  await handleCookiesConsent();
64
65
  });
65
66
 
@@ -85,7 +86,7 @@ describe("userInteraction - fill element with number", function () {
85
86
 
86
87
  describe("userInteraction - fill element with empty value", function () {
87
88
  it("Preparation", async function () {
88
- await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
89
+ await browser.navigateTo(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`);
89
90
  await handleCookiesConsent();
90
91
  });
91
92
 
@@ -109,7 +110,7 @@ describe("userInteraction - fill element, index > 0", function () {
109
110
  let actualValue;
110
111
 
111
112
  it("Preparation", async function () {
112
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputAssisted");
113
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.Input/sample/sap.m.sample.InputAssisted`);
113
114
  await handleCookiesConsent();
114
115
  await util.browser.switchToIframe("[id='sampleFrame']");
115
116
  });
@@ -1,3 +1,4 @@
1
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
1
2
  const { handleCookiesConsent } = require("../../../helper/utils");
2
3
 
3
4
  describe("userInteraction - fill and retry", function () {
@@ -5,7 +6,7 @@ describe("userInteraction - fill and retry", function () {
5
6
  let actualValue;
6
7
 
7
8
  it("Preparation", async function () {
8
- await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
9
+ await browser.navigateTo(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`);
9
10
  await handleCookiesConsent();
10
11
  });
11
12
 
@@ -35,7 +36,7 @@ describe("userInteraction - fillAndRetry element with invalid selector", functio
35
36
  let value;
36
37
 
37
38
  it("Preparation", async function () {
38
- await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
39
+ await browser.navigateTo(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`);
39
40
  await handleCookiesConsent();
40
41
  });
41
42
 
@@ -62,7 +63,7 @@ describe("userInteraction - fillAndRetry element with number", function () {
62
63
  let actualValue;
63
64
 
64
65
  it("Preparation", async function () {
65
- await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
66
+ await browser.navigateTo(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`);
66
67
  await handleCookiesConsent();
67
68
  });
68
69
 
@@ -92,7 +93,7 @@ describe("userInteraction - fillAndRetry element with empty value", function ()
92
93
  let actualValue;
93
94
 
94
95
  it("Preparation", async function () {
95
- await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
96
+ await browser.navigateTo(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`);
96
97
  await handleCookiesConsent();
97
98
  });
98
99
 
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
+ const { BASE_URL } = require("../../../../src/reuse/constants.ts");
2
3
  const { handleCookiesConsent } = require("../../../helper/utils");
3
4
 
4
5
  describe("userInteraction - mouseOverElement", function () {
5
6
  it("Preparation", async function () {
6
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Button/sample/sap.m.sample.Button");
7
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.Button/sample/sap.m.sample.Button`);
7
8
  await handleCookiesConsent();
8
9
  await util.browser.switchToIframe("[id='sampleFrame']");
9
10
  });
@@ -31,7 +32,7 @@ describe("userInteraction - mouseOverElement", function () {
31
32
 
32
33
  describe("userInteraction - mouseOverElement - wrong selector", function () {
33
34
  it("Preparation", async function () {
34
- await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Button/sample/sap.m.sample.Button");
35
+ await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.Button/sample/sap.m.sample.Button`);
35
36
  await handleCookiesConsent();
36
37
  await util.browser.switchToIframe("[id='sampleFrame']");
37
38
  });