@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.
- package/docs/doc.md +2 -2
- package/docs/sections/features/selectors.md +1 -1
- package/lib/reuse/constants.d.ts +1 -0
- package/lib/reuse/constants.js +5 -0
- package/lib/reuse/constants.js.map +1 -0
- package/lib/reuse/modules/ui5/mockserver.d.ts +2 -2
- package/lib/reuse/modules/ui5/mockserver.js +2 -2
- package/lib/reuse/modules/ui5/userInteraction.d.ts +3 -5
- package/lib/reuse/modules/ui5/userInteraction.js +40 -68
- package/lib/reuse/modules/ui5/userInteraction.js.map +1 -1
- package/package.json +2 -2
- package/reuseApi.json +1 -1
- package/test/core/functional/chaining/test.conf.js +3 -1
- package/test/core/functional/locators/ancestorProperties.test.js +4 -3
- package/test/core/functional/locators/childProperties.test.js +2 -1
- package/test/core/functional/locators/descendantProperties.test.js +3 -2
- package/test/core/functional/locators/parentProperties.test.js +2 -1
- package/test/core/functional/locators/test.locator.conf.js +2 -1
- package/test/core/functional/nativeBrowser/runInBrowser.test.js +3 -1
- package/test/core/functional/nativeBrowser/test.conf.js +2 -1
- package/test/core/functional/nonUi5/test.conf.js +2 -1
- package/test/core/functional/ui5Properties/getAggregations.test.js +4 -3
- package/test/core/functional/ui5Properties/getProperties.test.js +5 -4
- package/test/core/functional/ui5Properties/test.conf.js +2 -1
- package/test/core/functional/uiveri5/test.conf.js +2 -1
- package/test/core/testIntegration/config.js +2 -1
- package/test/core/testIntegration/configMultiCombo.js +2 -1
- package/test/core/testIntegration/configTable.js +2 -1
- package/test/reuse/common/assertion/test.assertion.conf.js +2 -1
- package/test/reuse/common/navigation/navigateToUrl.spec.js +3 -1
- package/test/reuse/common/navigation/navigateToUrlAndRetry.spec.js +3 -1
- package/test/reuse/common/userInteraction/clearAndFillActive.spec.js +4 -3
- package/test/reuse/common/userInteraction/clearAndFillActiveAndRetry.spec.js +4 -3
- package/test/reuse/common/userInteraction/fillActive.spec.js +7 -6
- package/test/reuse/common/userInteraction/fillActiveAndRetry.spec.js +5 -4
- package/test/reuse/common/userInteraction/pressKey.spec.js +2 -1
- package/test/reuse/nonUi5/assertion/expectCssPropertyValueToBe.spec.js +5 -4
- package/test/reuse/nonUi5/assertion/expectTextToBe.spec.js +5 -4
- package/test/reuse/nonUi5/assertion/expectToBeVisible.spec.js +2 -1
- package/test/reuse/nonUi5/assertion/expectValueToBe.spec.js +3 -2
- package/test/reuse/nonUi5/assertion/test.assertion.conf.js +2 -1
- package/test/reuse/nonUi5/assertion/test.assertion.sauceLabs.conf.js +3 -1
- package/test/reuse/nonUi5/element/getAttributeValue.spec.js +4 -3
- package/test/reuse/nonUi5/element/getByChild.spec.js +5 -4
- package/test/reuse/nonUi5/element/getByClass.spec.js +5 -4
- package/test/reuse/nonUi5/element/getByCss.spec.js +4 -3
- package/test/reuse/nonUi5/element/getByCssContainingText.spec.js +5 -4
- package/test/reuse/nonUi5/element/getById.spec.js +4 -3
- package/test/reuse/nonUi5/element/getByParent.spec.js +5 -4
- package/test/reuse/nonUi5/element/getByXPath.spec.js +3 -2
- package/test/reuse/nonUi5/element/getCssPropertyValue.spec.js +4 -3
- package/test/reuse/nonUi5/element/getValue.spec.js +4 -3
- package/test/reuse/nonUi5/element/highlight.spec.js +3 -1
- package/test/reuse/nonUi5/element/isEnabled.spec.js +4 -3
- package/test/reuse/nonUi5/element/isPresent.spec.js +5 -3
- package/test/reuse/nonUi5/element/isPresentByCss.spec.js +3 -2
- package/test/reuse/nonUi5/element/isPresentByXPath.spec.js +3 -2
- package/test/reuse/nonUi5/element/setInnerHTML.spec.js +2 -2
- package/test/reuse/nonUi5/element/test.element.conf.js +2 -1
- package/test/reuse/nonUi5/element/test.element.sauceLabs.conf.js +3 -1
- package/test/reuse/nonUi5/userInteraction/clickElementInSvg.spec.js +2 -2
- package/test/reuse/nonUi5/userInteraction/doubleClick.spec.js +2 -2
- package/test/reuse/nonUi5/userInteraction/moveCursorAndClick.spec.js +2 -1
- package/test/reuse/nonUi5/userInteraction/rightClick.spec.js +2 -1
- package/test/reuse/nonUi5/userInteraction/scrollToElement.spec.js +4 -3
- package/test/reuse/ui5/assertion/expectCssPropertyValueToBe.spec.js +3 -2
- package/test/reuse/ui5/assertion/expectMessageToastTextToBe.spec.js +3 -2
- package/test/reuse/ui5/assertion/expectToBeVisible.spec.js +2 -1
- package/test/reuse/ui5/assertion/expectToBeVisibleInViewport.spec.js +2 -1
- package/test/reuse/ui5/assertion/expectValidationError.spec.js +3 -2
- package/test/reuse/ui5/assertion/expectValidationSuccess.spec.js +3 -2
- package/test/reuse/ui5/assertion/expectValueToBeDefined.spec.js +2 -1
- package/test/reuse/ui5/assertion/test.assertion.conf.js +2 -1
- package/test/reuse/ui5/assertion/test.assertion.sauceLab.conf.js +3 -1
- package/test/reuse/ui5/confirmationDialog/clickButton.spec.js +3 -2
- package/test/reuse/ui5/confirmationDialog/clickNo.spec.js +3 -2
- package/test/reuse/ui5/confirmationDialog/clickOk.spec.js +2 -1
- package/test/reuse/ui5/confirmationDialog/clickYes.spec.js +2 -1
- package/test/reuse/ui5/confirmationDialog/test.confirmationDialog.conf.js +2 -1
- package/test/reuse/ui5/confirmationDialog/test.confirmationDialog.sauceLab.conf.js +3 -1
- package/test/reuse/ui5/control/focus.spec.js +5 -4
- package/test/reuse/ui5/control/getAggregationProperty.spec.js +3 -2
- package/test/reuse/ui5/control/getAssociationProperty.spec.js +3 -2
- package/test/reuse/ui5/control/test.control.conf.js +2 -1
- package/test/reuse/ui5/control/test.control.sauceLab.conf.js +2 -1
- package/test/reuse/ui5/date/fillRange.spec.js +3 -2
- package/test/reuse/ui5/date/pick.spec.js +5 -4
- package/test/reuse/ui5/date/pickRange.spec.js +5 -4
- package/test/reuse/ui5/date/pickWithTime.spec.js +2 -1
- package/test/reuse/ui5/element/getByChild.spec.js +4 -4
- package/test/reuse/ui5/element/getByParent.spec.js +4 -4
- package/test/reuse/ui5/element/getByText.spec.js +2 -1
- package/test/reuse/ui5/element/getCssPropertyValue.spec.js +3 -2
- package/test/reuse/ui5/element/getPropertyValue.spec.js +2 -1
- package/test/reuse/ui5/element/test.element.conf.js +3 -1
- package/test/reuse/ui5/element/test.element.sauceLab.conf.js +2 -1
- package/test/reuse/ui5/element/waitForAll.spec.js +3 -2
- package/test/reuse/ui5/errorDialog/clickClose.spec.js +2 -1
- package/test/reuse/ui5/errorDialog/expectToBeVisible.spec.js +2 -1
- package/test/reuse/ui5/mockserver_qunit/test/flpSandboxMockServer.html +2 -2
- package/test/reuse/ui5/mockserver_qunit/test/flpSandboxMockServerAllData.html +2 -2
- package/test/reuse/ui5/mockserver_qunit/test/unit/unitTests.qunit.html +1 -1
- package/test/reuse/ui5/navigationBar/clickSapLogo.spec.js +2 -1
- package/test/reuse/ui5/navigationBar/test.navigationBar.conf.js +2 -1
- package/test/reuse/ui5/navigationBar/test.navigationBar.sauceLab.conf.js +2 -1
- package/test/reuse/ui5/session/logout.spec.js +2 -2
- package/test/reuse/ui5/table/clickSettingsButton.spec.js +3 -2
- package/test/reuse/ui5/table/deselectAllRows.spec.js +4 -3
- package/test/reuse/ui5/table/deselectRowByIndex.spec.js +4 -3
- package/test/reuse/ui5/table/getAllColumnValuesByName.spec.js +2 -1
- package/test/reuse/ui5/table/getRowSelectorByIndex.spec.js +2 -1
- package/test/reuse/ui5/table/getSelectorForRowByIndex.spec.js +6 -5
- package/test/reuse/ui5/table/getSelectorsForRowsByValues.spec.js +7 -6
- package/test/reuse/ui5/table/getTotalNumberOfRows.spec.js +4 -3
- package/test/reuse/ui5/table/getTotalNumberOfRowsByValues.spec.js +6 -5
- package/test/reuse/ui5/table/openItemByIndex.spec.js +4 -3
- package/test/reuse/ui5/table/openItemByValues.spec.js +4 -3
- package/test/reuse/ui5/table/selectAllRows.spec.js +4 -3
- package/test/reuse/ui5/table/selectRowByIndex.spec.js +4 -3
- package/test/reuse/ui5/table/selectRowByValues.spec.js +5 -4
- package/test/reuse/ui5/table/sortColumnAscending.spec.js +4 -3
- package/test/reuse/ui5/table/sortColumnDescending.spec.js +3 -2
- package/test/reuse/ui5/userInteraction/check.spec.js +4 -3
- package/test/reuse/ui5/userInteraction/clear.spec.js +4 -3
- package/test/reuse/ui5/userInteraction/clearAndFill.spec.js +7 -6
- package/test/reuse/ui5/userInteraction/clearAndFillAndRetry.spec.js +6 -5
- package/test/reuse/ui5/userInteraction/clearAndFillSmartFieldInput.spec.js +3 -2
- package/test/reuse/ui5/userInteraction/clearAndFillSmartFieldInputAndRetry.spec.js +2 -1
- package/test/reuse/ui5/userInteraction/clearAndRetry.spec.js +3 -2
- package/test/reuse/ui5/userInteraction/click.spec.js +7 -6
- package/test/reuse/ui5/userInteraction/clickAndRetry.spec.js +4 -3
- package/test/reuse/ui5/userInteraction/clickSelectArrow.spec.js +3 -2
- package/test/reuse/ui5/userInteraction/clickSelectArrowAndRetry.spec.js +4 -3
- package/test/reuse/ui5/userInteraction/clickTab.spec.js +4 -3
- package/test/reuse/ui5/userInteraction/doubleClick.spec.js +5 -4
- package/test/reuse/ui5/userInteraction/dragAndDrop.spec.js +2 -1
- package/test/reuse/ui5/userInteraction/fill.spec.js +6 -5
- package/test/reuse/ui5/userInteraction/fillAndRetry.spec.js +5 -4
- package/test/reuse/ui5/userInteraction/mouseOverElement.spec.js +3 -2
- package/test/reuse/ui5/userInteraction/openF4Help.spec.js +3 -2
- package/test/reuse/ui5/userInteraction/rightClick.spec.js +5 -4
- package/test/reuse/ui5/userInteraction/scrollToElement.spec.js +5 -4
- package/test/reuse/ui5/userInteraction/searchFor.spec.js +5 -4
- package/test/reuse/ui5/userInteraction/selectBox.spec.js +5 -4
- package/test/reuse/ui5/userInteraction/selectCombobox.spec.js +5 -4
- package/test/reuse/ui5/userInteraction/selectFromTab.spec.js +2 -1
- package/test/reuse/ui5/userInteraction/selectMultiComboBox.spec.js +6 -5
- package/test/reuse/ui5/userInteraction/test.userInteraction.conf.js +2 -1
- package/test/reuse/ui5/userInteraction/test.userInteraction.sauceLab.conf.js +2 -1
- package/test/reuse/ui5/userInteraction/uncheck.spec.js +4 -3
- package/test/reuse/util/browser/back.spec.js +2 -1
- package/test/reuse/util/browser/forward.spec.js +2 -1
- package/test/reuse/util/browser/getBaseUrl.spec.js +2 -1
- package/test/reuse/util/browser/getCurrentWindow.spec.js +3 -2
- package/test/reuse/util/browser/setBaseUrl.spec.js +3 -2
- package/test/reuse/util/browser/switchToDefaultContent.spec.js +2 -1
- package/test/reuse/util/browser/switchToIframe.spec.js +3 -2
- package/test/reuse/util/browser/switchToWindow.spec.js +3 -2
- package/test/reuse/util/browser/test.browser.conf.js +3 -1
- package/test/reuse/util/component/test.component.conf.js +2 -1
- package/test/reuse/util/console/test.console.conf.js +2 -1
- package/test/reuse/util/data/test.data.conf.js +2 -1
- package/test/reuse/util/data/test.data.privacy.conf.js +2 -1
- package/test/reuse/util/file/test.file.conf.js +2 -1
- package/test/reuse/util/file/upload.spec.js +3 -2
- package/test/reuse/util/formatter/test.formatter.conf.js +2 -1
- package/test/reuse/util/system/test.system.conf.js +2 -1
- 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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
-
|
|
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
|
-
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
});
|