@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("assertion - expectValueToBeDefined", function () {
|
|
7
8
|
|
|
8
9
|
it("Preparation", async function () {
|
|
9
|
-
await common.navigation.navigateToUrl(
|
|
10
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription`);
|
|
10
11
|
await handleCookiesConsent();
|
|
11
12
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
12
13
|
});
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
const path = require("path");
|
|
2
2
|
const merge = require("deepmerge");
|
|
3
3
|
const profile = require("../../../helper/configurations/chrome.headless.conf");
|
|
4
|
+
const { BASE_URL } = require("../../../../src/reuse/constants.ts");
|
|
4
5
|
|
|
5
6
|
exports.config = merge(profile.config, {
|
|
6
7
|
maxInstances: 6,
|
|
7
8
|
specFileRetries: 2,
|
|
8
9
|
|
|
9
|
-
baseUrl:
|
|
10
|
+
baseUrl: `${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`,
|
|
10
11
|
|
|
11
12
|
specs: [
|
|
12
13
|
path.resolve(__dirname, "expectAttributeToBe.spec.js"),
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
const path = require("path");
|
|
2
2
|
const merge = require("deepmerge");
|
|
3
3
|
const profile = require("../../../helper/configurations/sauce.labs.conf");
|
|
4
|
+
const { BASE_URL } = require("../../../../src/reuse/constants.ts");
|
|
5
|
+
|
|
4
6
|
exports.config = merge(profile.config, {
|
|
5
7
|
user: "3549e2d146bbf4a502afd06a071f4b0217da2e7015788135765fc3187eb2290fcdbf352518a423948698eefb17ba62dcad1403855ae7a215d0664d7ec05f5c847ea38b6e1cccdd21c5b0d86ed664ef88a7de6f4fe8fbb716db83000a102a5d753d9a43d491160c1e3206a5dcc31ef4a074a1da1e39d6f16613282f548bbe9a61baf33668e88c1443951b2f6dd8d51bfb81b81a80428b5c53197606095946deebca98b20960cc85cd31a5cf9a278d62d867dd602d59754442b8b8a8294307b374c807afc50c45f742d2e9b67a8248992a73abb07e4c271b647ccdb55db5925fa4e81b35fbc4db19eec1fd2410439ba7af5417a9c691faec3e807aba6a17e5f26fb5da8c18a519276dea9ead247c544a65696642c5d7a86dad63895f781a115434eb6626594078412d62ead47887dd0190b224a593a81f27a37d28124c3d6b94d0c17055c304a8de72841672f861693ae89fde4cff5cd6e118cbc0fd749f95f1ae",
|
|
6
8
|
key: "f327bbae23d6881304a675ab9e1547ba9656a3a848f0d95646ae10c2a58814c510af03b80d7d08ffe4019d4b86c681ee09d23c38d97555165ad9f175e70afcb2d738e1d532742f9892325e7ae4400f72559db30c03c64d8dda376c057d4bdd60e7b4f44cc19647083d408772c2cef509826bee963fe1a833ae234e827555050729ef69a63931e1bf0f99e8160dbe62082b393f05e4f1d6089a19b0978b58e17ddfe617fb3f01478681d79a795026cc661d0289d99d06a86692f68817a158282b724166fb93c46ea1870bb3a85ec909b7f117bd6a22bdc70e53b61285d9c9680a55f9750ce9cf7c1dd57b22db91f19dda0ba68ed53de0c2acfb0b71ce0ad6ab8432b35c8f7d86de128c2b0759e90c8efe7ea949ef2d3dd75eb4277782cf71817c4b312cd36765496e04c7194a452e144195e073c625ba8a6c7c0bbe315f3f273bac427b26d6fc062513a0db55ca118bac194f2b90fb930b9b32135d52d8790525",
|
|
@@ -9,7 +11,7 @@ exports.config = merge(profile.config, {
|
|
|
9
11
|
maxInstances: 2, // note: for the SAP account, only 2 parallel instances is a max value
|
|
10
12
|
|
|
11
13
|
bail: 1,
|
|
12
|
-
baseUrl:
|
|
14
|
+
baseUrl: `${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`,
|
|
13
15
|
|
|
14
16
|
specs: [
|
|
15
17
|
path.resolve(__dirname, "expectAttributeToBe.spec.js"),
|
|
@@ -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");
|
|
@@ -11,7 +12,7 @@ const selectorForPopupOkButton = {
|
|
|
11
12
|
|
|
12
13
|
describe("confirmationDialog - clickButton - text 'OK'", function () {
|
|
13
14
|
it("Preparation", async function () {
|
|
14
|
-
await browser.navigateTo(
|
|
15
|
+
await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.Input/sample/sap.m.sample.InputChecked`);
|
|
15
16
|
await handleCookiesConsent();
|
|
16
17
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
17
18
|
|
|
@@ -63,7 +64,7 @@ describe("confirmationDialog - clickButton - text 'OK' without confirmation dial
|
|
|
63
64
|
|
|
64
65
|
describe("confirmationDialog - clickButton - text 'Cancel'", function () {
|
|
65
66
|
it("Preparation", async function () {
|
|
66
|
-
await browser.navigateTo(
|
|
67
|
+
await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.MessageBox/sample/sap.m.sample.MessageBox`);
|
|
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");
|
|
@@ -17,7 +18,7 @@ const selectorForPopup = {
|
|
|
17
18
|
|
|
18
19
|
describe("confirmationDialog - clickNo", function () {
|
|
19
20
|
it("Preparation", async function () {
|
|
20
|
-
await browser.navigateTo(
|
|
21
|
+
await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.MessageBox/sample/sap.m.sample.MessageBoxInitialFocus`);
|
|
21
22
|
await handleCookiesConsent();
|
|
22
23
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
23
24
|
|
|
@@ -53,7 +54,7 @@ describe("confirmationDialog - clickNo", function () {
|
|
|
53
54
|
|
|
54
55
|
describe("confirmationDialog - clickNo without 'No' button (unhappy case)", function () {
|
|
55
56
|
it("Preparation", async function () {
|
|
56
|
-
await browser.navigateTo(
|
|
57
|
+
await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.MessageBox/sample/sap.m.sample.MessageBoxInitialFocus`);
|
|
57
58
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
58
59
|
const openDialogButton = {
|
|
59
60
|
"elementProperties": {
|
|
@@ -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");
|
|
@@ -11,7 +12,7 @@ const selectorForPopupOkButton = {
|
|
|
11
12
|
|
|
12
13
|
describe("confirmationDialog - clickOk", function () {
|
|
13
14
|
it("Preparation", async function () {
|
|
14
|
-
await browser.navigateTo(
|
|
15
|
+
await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.Input/sample/sap.m.sample.InputChecked`);
|
|
15
16
|
await handleCookiesConsent();
|
|
16
17
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
17
18
|
|
|
@@ -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");
|
|
@@ -17,7 +18,7 @@ const selectorForDialog = {
|
|
|
17
18
|
|
|
18
19
|
describe("confirmationDialog - clickYes", function () {
|
|
19
20
|
it("Preparation", async function () {
|
|
20
|
-
await browser.navigateTo(
|
|
21
|
+
await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.MessageBox/sample/sap.m.sample.MessageBoxInitialFocus`);
|
|
21
22
|
await handleCookiesConsent();
|
|
22
23
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
23
24
|
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
const path = require("path");
|
|
2
2
|
const merge = require("deepmerge");
|
|
3
3
|
const profile = require("../../../helper/configurations/chrome.headless.conf");
|
|
4
|
+
const { BASE_URL } = require("../../../../src/reuse/constants.ts");
|
|
4
5
|
|
|
5
6
|
exports.config = merge(profile.config, {
|
|
6
7
|
maxInstances: 6,
|
|
7
8
|
specFileRetries: 2,
|
|
8
9
|
|
|
9
|
-
baseUrl:
|
|
10
|
+
baseUrl: `${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`,
|
|
10
11
|
|
|
11
12
|
specs: [
|
|
12
13
|
path.resolve(__dirname, "clickOk.spec.js"),
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
const path = require("path");
|
|
2
2
|
const merge = require("deepmerge");
|
|
3
3
|
const profile = require("../../../helper/configurations/sauce.labs.conf");
|
|
4
|
+
const { BASE_URL } = require("../../../../src/reuse/constants.ts");
|
|
5
|
+
|
|
4
6
|
exports.config = merge(profile.config, {
|
|
5
7
|
user: "3549e2d146bbf4a502afd06a071f4b0217da2e7015788135765fc3187eb2290fcdbf352518a423948698eefb17ba62dcad1403855ae7a215d0664d7ec05f5c847ea38b6e1cccdd21c5b0d86ed664ef88a7de6f4fe8fbb716db83000a102a5d753d9a43d491160c1e3206a5dcc31ef4a074a1da1e39d6f16613282f548bbe9a61baf33668e88c1443951b2f6dd8d51bfb81b81a80428b5c53197606095946deebca98b20960cc85cd31a5cf9a278d62d867dd602d59754442b8b8a8294307b374c807afc50c45f742d2e9b67a8248992a73abb07e4c271b647ccdb55db5925fa4e81b35fbc4db19eec1fd2410439ba7af5417a9c691faec3e807aba6a17e5f26fb5da8c18a519276dea9ead247c544a65696642c5d7a86dad63895f781a115434eb6626594078412d62ead47887dd0190b224a593a81f27a37d28124c3d6b94d0c17055c304a8de72841672f861693ae89fde4cff5cd6e118cbc0fd749f95f1ae",
|
|
6
8
|
key: "f327bbae23d6881304a675ab9e1547ba9656a3a848f0d95646ae10c2a58814c510af03b80d7d08ffe4019d4b86c681ee09d23c38d97555165ad9f175e70afcb2d738e1d532742f9892325e7ae4400f72559db30c03c64d8dda376c057d4bdd60e7b4f44cc19647083d408772c2cef509826bee963fe1a833ae234e827555050729ef69a63931e1bf0f99e8160dbe62082b393f05e4f1d6089a19b0978b58e17ddfe617fb3f01478681d79a795026cc661d0289d99d06a86692f68817a158282b724166fb93c46ea1870bb3a85ec909b7f117bd6a22bdc70e53b61285d9c9680a55f9750ce9cf7c1dd57b22db91f19dda0ba68ed53de0c2acfb0b71ce0ad6ab8432b35c8f7d86de128c2b0759e90c8efe7ea949ef2d3dd75eb4277782cf71817c4b312cd36765496e04c7194a452e144195e073c625ba8a6c7c0bbe315f3f273bac427b26d6fc062513a0db55ca118bac194f2b90fb930b9b32135d52d8790525",
|
|
@@ -9,7 +11,7 @@ exports.config = merge(profile.config, {
|
|
|
9
11
|
maxInstances: 2, // note: for the SAP account, only 2 parallel instances is a max value
|
|
10
12
|
|
|
11
13
|
bail: 1,
|
|
12
|
-
baseUrl:
|
|
14
|
+
baseUrl: `${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`,
|
|
13
15
|
|
|
14
16
|
specs: [
|
|
15
17
|
path.resolve(__dirname, "clickOk.spec.js"),
|
|
@@ -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("control - focus - for a input field", function () {
|
|
5
6
|
it("Preparation", async function () {
|
|
6
|
-
await common.navigation.navigateToUrl(
|
|
7
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.TextInEditModeSource`);
|
|
7
8
|
await handleCookiesConsent();
|
|
8
9
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
9
10
|
});
|
|
@@ -23,7 +24,7 @@ describe("control - focus - for a input field", function () {
|
|
|
23
24
|
|
|
24
25
|
describe("control - focus", function () {
|
|
25
26
|
it("Preparation", async function () {
|
|
26
|
-
await common.navigation.navigateToUrl(
|
|
27
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.m.ActionSheet`);
|
|
27
28
|
await handleCookiesConsent();
|
|
28
29
|
});
|
|
29
30
|
|
|
@@ -42,7 +43,7 @@ describe("control - focus", function () {
|
|
|
42
43
|
|
|
43
44
|
describe("control - focus - outside of viewpoint", function () {
|
|
44
45
|
it("Preparation", async function () {
|
|
45
|
-
await common.navigation.navigateToUrl(
|
|
46
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.m.MultiComboBox/sample/sap.m.sample.MultiComboBox`);
|
|
46
47
|
await handleCookiesConsent();
|
|
47
48
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
48
49
|
});
|
|
@@ -81,7 +82,7 @@ describe("control - focus - outside of viewpoint", function () {
|
|
|
81
82
|
describe("control - focus - no selector found and catch error", function () {
|
|
82
83
|
|
|
83
84
|
it("Preparation", async function () {
|
|
84
|
-
await browser.navigateTo(
|
|
85
|
+
await browser.navigateTo(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`);
|
|
85
86
|
});
|
|
86
87
|
|
|
87
88
|
it("Execution & Verification", async function () {
|
|
@@ -1,4 +1,5 @@
|
|
|
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("getAggregationProperty - check tooltip property is 'Open category Accessories'", async () => {
|
|
@@ -38,7 +39,7 @@ describe("getAggregationProperty - columns of table", async () => {
|
|
|
38
39
|
let val;
|
|
39
40
|
const expectedColumns = ["Product", "Supplier", "Dimensions", "Weight", "Price"];
|
|
40
41
|
it("Preparation", async () => {
|
|
41
|
-
const url =
|
|
42
|
+
const url = `${BASE_URL}/#/entity/sap.m.Table/sample/sap.m.sample.Table`;
|
|
42
43
|
await common.navigation.navigateToUrl(url);
|
|
43
44
|
await handleCookiesConsent();
|
|
44
45
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
@@ -64,7 +65,7 @@ describe("getAggregationProperty - items in list", async () => {
|
|
|
64
65
|
let val;
|
|
65
66
|
const expectedItems = ["ITelO Vault", "Notebook Basic 15", "Notebook Basic 17", "Notebook Basic 18", "Notebook Basic 19"];
|
|
66
67
|
it("Preparation", async () => {
|
|
67
|
-
const url =
|
|
68
|
+
const url = `${BASE_URL}/#/entity/sap.m.Select/sample/sap.m.sample.Select`;
|
|
68
69
|
await common.navigation.navigateToUrl(url);
|
|
69
70
|
await handleCookiesConsent();
|
|
70
71
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
@@ -1,10 +1,11 @@
|
|
|
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("getAssociationProperty - 'ariaDescribedBy' of Button", function () {
|
|
5
6
|
let val;
|
|
6
7
|
it("Preparation", async () => {
|
|
7
|
-
const url =
|
|
8
|
+
const url = `${BASE_URL}/#/entity/sap.m.Button/sample/sap.m.sample.Button`;
|
|
8
9
|
await common.navigation.navigateToUrl(url);
|
|
9
10
|
await handleCookiesConsent();
|
|
10
11
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
@@ -33,7 +34,7 @@ describe("getAssociationProperty - 'ariaDescribedBy' of Button", function () {
|
|
|
33
34
|
describe("getAssociationProperty - 'selectedItems' of MultiComboBox", function () {
|
|
34
35
|
let selector, selectedItems;
|
|
35
36
|
it("Preparation", async () => {
|
|
36
|
-
const url =
|
|
37
|
+
const url = `${BASE_URL}/#/entity/sap.m.MultiComboBox/sample/sap.m.sample.MultiComboBox`;
|
|
37
38
|
await common.navigation.navigateToUrl(url);
|
|
38
39
|
await handleCookiesConsent();
|
|
39
40
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
const path = require("path");
|
|
2
2
|
const merge = require("deepmerge");
|
|
3
3
|
const profile = require("../../../helper/configurations/chrome.headless.conf");
|
|
4
|
+
const { BASE_URL } = require("../../../../src/reuse/constants.ts");
|
|
4
5
|
|
|
5
6
|
exports.config = merge(profile.config, {
|
|
6
7
|
maxInstances: 6,
|
|
7
8
|
specFileRetries: 2,
|
|
8
9
|
|
|
9
|
-
baseUrl:
|
|
10
|
+
baseUrl: `${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`,
|
|
10
11
|
|
|
11
12
|
specs: [
|
|
12
13
|
path.resolve(__dirname, "execute.spec.js"),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const path = require("path");
|
|
2
2
|
const merge = require("deepmerge");
|
|
3
3
|
const profile = require("../../../helper/configurations/sauce.labs.conf");
|
|
4
|
+
const { BASE_URL } = require("../../../../src/reuse/constants.ts");
|
|
4
5
|
|
|
5
6
|
exports.config = merge(profile.config, {
|
|
6
7
|
user: "3549e2d146bbf4a502afd06a071f4b0217da2e7015788135765fc3187eb2290fcdbf352518a423948698eefb17ba62dcad1403855ae7a215d0664d7ec05f5c847ea38b6e1cccdd21c5b0d86ed664ef88a7de6f4fe8fbb716db83000a102a5d753d9a43d491160c1e3206a5dcc31ef4a074a1da1e39d6f16613282f548bbe9a61baf33668e88c1443951b2f6dd8d51bfb81b81a80428b5c53197606095946deebca98b20960cc85cd31a5cf9a278d62d867dd602d59754442b8b8a8294307b374c807afc50c45f742d2e9b67a8248992a73abb07e4c271b647ccdb55db5925fa4e81b35fbc4db19eec1fd2410439ba7af5417a9c691faec3e807aba6a17e5f26fb5da8c18a519276dea9ead247c544a65696642c5d7a86dad63895f781a115434eb6626594078412d62ead47887dd0190b224a593a81f27a37d28124c3d6b94d0c17055c304a8de72841672f861693ae89fde4cff5cd6e118cbc0fd749f95f1ae",
|
|
@@ -10,7 +11,7 @@ exports.config = merge(profile.config, {
|
|
|
10
11
|
maxInstances: 2, // note: for the SAP account, only 2 parallel instances is a max value
|
|
11
12
|
|
|
12
13
|
bail: 1,
|
|
13
|
-
baseUrl:
|
|
14
|
+
baseUrl: `${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`,
|
|
14
15
|
|
|
15
16
|
specs: [
|
|
16
17
|
path.resolve(__dirname, "execute.spec.js"),
|
|
@@ -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");
|
|
@@ -16,7 +17,7 @@ const dataRangeSelector = {
|
|
|
16
17
|
};
|
|
17
18
|
describe("date - fillRange", function () {
|
|
18
19
|
it("Preparation", async function () {
|
|
19
|
-
await browser.url(
|
|
20
|
+
await browser.url(`${BASE_URL}/#/entity/sap.m.DateRangeSelection/sample/sap.m.sample.DateRangeSelectionValueState`);
|
|
20
21
|
await handleCookiesConsent();
|
|
21
22
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
22
23
|
});
|
|
@@ -44,7 +45,7 @@ describe("date - fillRange", function () {
|
|
|
44
45
|
|
|
45
46
|
describe("date - fillRange: no such field on a screen (unhappy case)", function () {
|
|
46
47
|
it("Preparation", async function () {
|
|
47
|
-
await browser.url(
|
|
48
|
+
await browser.url(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`);
|
|
48
49
|
});
|
|
49
50
|
|
|
50
51
|
it("Execution & Verification", async function () {
|
|
@@ -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");
|
|
@@ -17,7 +18,7 @@ describe("date - pick - when datePicker has not assigned any date", function ()
|
|
|
17
18
|
};
|
|
18
19
|
|
|
19
20
|
it("Preparation", async function () {
|
|
20
|
-
await browser.url(
|
|
21
|
+
await browser.url(`${BASE_URL}/#/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker`);
|
|
21
22
|
await handleCookiesConsent();
|
|
22
23
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
23
24
|
});
|
|
@@ -56,7 +57,7 @@ describe("date - pick - when datePicker already has date assigned and we change
|
|
|
56
57
|
};
|
|
57
58
|
|
|
58
59
|
it("Preparation", async function () {
|
|
59
|
-
await browser.url(
|
|
60
|
+
await browser.url(`${BASE_URL}/#/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker`);
|
|
60
61
|
await handleCookiesConsent();
|
|
61
62
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
62
63
|
});
|
|
@@ -95,7 +96,7 @@ describe("date - pick - using selector for sap.ui.core.Icon", function () {
|
|
|
95
96
|
};
|
|
96
97
|
|
|
97
98
|
it("Preparation", async function () {
|
|
98
|
-
await browser.url(
|
|
99
|
+
await browser.url(`${BASE_URL}/#/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker`);
|
|
99
100
|
await handleCookiesConsent();
|
|
100
101
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
101
102
|
});
|
|
@@ -129,7 +130,7 @@ describe("date - pick without datePiker (unhappy case)", function () {
|
|
|
129
130
|
};
|
|
130
131
|
|
|
131
132
|
it("Preparation", async function () {
|
|
132
|
-
await browser.navigateTo(
|
|
133
|
+
await browser.navigateTo(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories`);
|
|
133
134
|
});
|
|
134
135
|
|
|
135
136
|
it("Execution & Verification", async function () {
|
|
@@ -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");
|
|
@@ -25,7 +26,7 @@ describe("date - pickRange - when DateRangeSelection do not have any value", fun
|
|
|
25
26
|
|
|
26
27
|
it("Preparation", async function () {
|
|
27
28
|
// using UI5 version 1.132.1, since latest (1.134.0) version date range picker doesn't work
|
|
28
|
-
await browser.url(
|
|
29
|
+
await browser.url(`${BASE_URL}/1.132.1/#/entity/sap.m.DateRangeSelection/sample/sap.m.sample.DateRangeSelectionValueState`);
|
|
29
30
|
await handleCookiesConsent();
|
|
30
31
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
31
32
|
});
|
|
@@ -62,7 +63,7 @@ describe("date - pickRange - with index as 2", function () {
|
|
|
62
63
|
};
|
|
63
64
|
|
|
64
65
|
it("Preparation", async function () {
|
|
65
|
-
await browser.url(
|
|
66
|
+
await browser.url(`${BASE_URL}/1.132.1/#/entity/sap.m.DateRangeSelection/sample/sap.m.sample.DateRangeSelectionValueState`);
|
|
66
67
|
await handleCookiesConsent();
|
|
67
68
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
68
69
|
});
|
|
@@ -108,7 +109,7 @@ describe("date - pickRange - with icon as selector", function () {
|
|
|
108
109
|
};
|
|
109
110
|
|
|
110
111
|
it("Preparation", async function () {
|
|
111
|
-
await browser.url(
|
|
112
|
+
await browser.url(`${BASE_URL}/1.132.1/#/entity/sap.m.DateRangeSelection/sample/sap.m.sample.DateRangeSelectionValueState`);
|
|
112
113
|
await handleCookiesConsent();
|
|
113
114
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
114
115
|
});
|
|
@@ -137,7 +138,7 @@ describe("date - pickRange without datePiker (unhappy case)", function () {
|
|
|
137
138
|
};
|
|
138
139
|
|
|
139
140
|
it("Preparation", async function () {
|
|
140
|
-
await browser.url(
|
|
141
|
+
await browser.url(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories`);
|
|
141
142
|
});
|
|
142
143
|
|
|
143
144
|
it("Execution & Verification", async function () {
|
|
@@ -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");
|
|
@@ -15,7 +16,7 @@ const dateTimePicker = {
|
|
|
15
16
|
}
|
|
16
17
|
};
|
|
17
18
|
|
|
18
|
-
const dateTimePickerUrl =
|
|
19
|
+
const dateTimePickerUrl = `${BASE_URL}/#/entity/sap.m.DateTimePicker/sample/sap.m.sample.DateTimePicker`;
|
|
19
20
|
|
|
20
21
|
describe("date - pickWithTime - Simple DateTimePicker when datePicker has not assigned any date", function () {
|
|
21
22
|
let expectedDate;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
2
|
+
const { BASE_URL } = require("../../../../src/reuse/constants.ts");
|
|
3
3
|
const {
|
|
4
4
|
handleCookiesConsent
|
|
5
5
|
} = require("../../../helper/utils");
|
|
@@ -9,7 +9,7 @@ describe("element - getByChild - simple case", function () {
|
|
|
9
9
|
let elem;
|
|
10
10
|
|
|
11
11
|
it("Preparation", async function () {
|
|
12
|
-
await common.navigation.navigateToUrl(
|
|
12
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable`);
|
|
13
13
|
await handleCookiesConsent();
|
|
14
14
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
15
15
|
});
|
|
@@ -49,7 +49,7 @@ describe("element - getByChild - with ignored nested selectors", function () {
|
|
|
49
49
|
let elem;
|
|
50
50
|
|
|
51
51
|
it("Preparation", async function () {
|
|
52
|
-
await common.navigation.navigateToUrl(
|
|
52
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable`);
|
|
53
53
|
await handleCookiesConsent();
|
|
54
54
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
55
55
|
});
|
|
@@ -98,7 +98,7 @@ describe("element - getByChild - with inner nested selectors and index", functio
|
|
|
98
98
|
let elem;
|
|
99
99
|
|
|
100
100
|
it("Preparation", async function () {
|
|
101
|
-
await common.navigation.navigateToUrl(
|
|
101
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable`);
|
|
102
102
|
await handleCookiesConsent();
|
|
103
103
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
104
104
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
2
|
+
const { BASE_URL } = require("../../../../src/reuse/constants.ts");
|
|
3
3
|
const {
|
|
4
4
|
handleCookiesConsent
|
|
5
5
|
} = require("../../../helper/utils");
|
|
@@ -9,7 +9,7 @@ describe("element - getByParent - simple case", function () {
|
|
|
9
9
|
let elem;
|
|
10
10
|
|
|
11
11
|
it("Preparation", async function () {
|
|
12
|
-
await common.navigation.navigateToUrl(
|
|
12
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable`);
|
|
13
13
|
await handleCookiesConsent();
|
|
14
14
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
15
15
|
});
|
|
@@ -49,7 +49,7 @@ describe("element - getByParent - with ignored nested selectors", function () {
|
|
|
49
49
|
let elem;
|
|
50
50
|
|
|
51
51
|
it("Preparation", async function () {
|
|
52
|
-
await common.navigation.navigateToUrl(
|
|
52
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable`);
|
|
53
53
|
await handleCookiesConsent();
|
|
54
54
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
55
55
|
});
|
|
@@ -97,7 +97,7 @@ describe("element - getByParent - with inner nested selectors and index", functi
|
|
|
97
97
|
let elem;
|
|
98
98
|
|
|
99
99
|
it("Preparation", async function () {
|
|
100
|
-
await common.navigation.navigateToUrl(
|
|
100
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable`);
|
|
101
101
|
await handleCookiesConsent();
|
|
102
102
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
103
103
|
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
const { BASE_URL } = require("../../../../src/reuse/constants.ts");
|
|
2
3
|
const selectorForAllListItems = {
|
|
3
4
|
"elementProperties": {
|
|
4
5
|
"viewName": "sap.ui.demo.cart.view.Home",
|
|
@@ -47,7 +48,7 @@ describe("element - getByText with index 1 (unhappy case)", function () {
|
|
|
47
48
|
const value = "Gaming Monster";
|
|
48
49
|
|
|
49
50
|
it("Preparation", async function () {
|
|
50
|
-
await common.navigation.navigateToUrl(
|
|
51
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/category/DC`);
|
|
51
52
|
});
|
|
52
53
|
|
|
53
54
|
it("Execution", async function () {
|
|
@@ -1,11 +1,12 @@
|
|
|
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("element - getCssPropertyValue", function () {
|
|
5
6
|
let valueAct;
|
|
6
7
|
|
|
7
8
|
it("Preparation", async function () {
|
|
8
|
-
await common.navigation.navigateToUrl(
|
|
9
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories`);
|
|
9
10
|
await handleCookiesConsent();
|
|
10
11
|
});
|
|
11
12
|
|
|
@@ -31,7 +32,7 @@ describe("element - getCssPropertyValue", function () {
|
|
|
31
32
|
|
|
32
33
|
describe("element - getCssPropertyValue - error", function () {
|
|
33
34
|
it("Preparation", async function () {
|
|
34
|
-
await common.navigation.navigateToUrl(
|
|
35
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories`);
|
|
35
36
|
});
|
|
36
37
|
|
|
37
38
|
it("Execution & Verification", async function () {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
const { BASE_URL } = require("../../../../src/reuse/constants.ts");
|
|
2
3
|
describe("element - getPropertyValue", function () {
|
|
3
4
|
|
|
4
5
|
let value;
|
|
@@ -71,7 +72,7 @@ describe("element - getPropertyValue - wrong selector", function () {
|
|
|
71
72
|
|
|
72
73
|
describe("element - getPropertyValue - boolean property", function () {
|
|
73
74
|
it("Preparation", async function () {
|
|
74
|
-
await browser.navigateTo(
|
|
75
|
+
await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.CheckBox/sample/sap.m.sample.CheckBox`);
|
|
75
76
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
76
77
|
});
|
|
77
78
|
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
const path = require("path");
|
|
2
2
|
const merge = require("deepmerge");
|
|
3
3
|
const profile = require("../../../helper/configurations/chrome.headless.conf");
|
|
4
|
+
const { BASE_URL } = require("../../../../src/reuse/constants.ts");
|
|
5
|
+
|
|
4
6
|
exports.config = merge(profile.config, {
|
|
5
7
|
maxInstances: 6,
|
|
6
8
|
specFileRetries: 2,
|
|
7
9
|
|
|
8
|
-
baseUrl:
|
|
10
|
+
baseUrl: `${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`,
|
|
9
11
|
|
|
10
12
|
specs: [
|
|
11
13
|
path.resolve(__dirname, "getBindingValue.spec.js"),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const path = require("path");
|
|
2
2
|
const merge = require("deepmerge");
|
|
3
3
|
const profile = require("../../../helper/configurations/sauce.labs.conf");
|
|
4
|
+
const { BASE_URL } = require("../../../../src/reuse/constants.ts");
|
|
4
5
|
|
|
5
6
|
exports.config = merge(profile.config, {
|
|
6
7
|
user: "3549e2d146bbf4a502afd06a071f4b0217da2e7015788135765fc3187eb2290fcdbf352518a423948698eefb17ba62dcad1403855ae7a215d0664d7ec05f5c847ea38b6e1cccdd21c5b0d86ed664ef88a7de6f4fe8fbb716db83000a102a5d753d9a43d491160c1e3206a5dcc31ef4a074a1da1e39d6f16613282f548bbe9a61baf33668e88c1443951b2f6dd8d51bfb81b81a80428b5c53197606095946deebca98b20960cc85cd31a5cf9a278d62d867dd602d59754442b8b8a8294307b374c807afc50c45f742d2e9b67a8248992a73abb07e4c271b647ccdb55db5925fa4e81b35fbc4db19eec1fd2410439ba7af5417a9c691faec3e807aba6a17e5f26fb5da8c18a519276dea9ead247c544a65696642c5d7a86dad63895f781a115434eb6626594078412d62ead47887dd0190b224a593a81f27a37d28124c3d6b94d0c17055c304a8de72841672f861693ae89fde4cff5cd6e118cbc0fd749f95f1ae",
|
|
@@ -11,7 +12,7 @@ exports.config = merge(profile.config, {
|
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
bail: 1,
|
|
14
|
-
baseUrl:
|
|
15
|
+
baseUrl: `${BASE_URL}/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3`,
|
|
15
16
|
|
|
16
17
|
specs: [
|
|
17
18
|
path.resolve(__dirname, "getBindingValue.spec.js"),
|
|
@@ -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");
|
|
@@ -12,7 +13,7 @@ describe("element - waitForAll", function () {
|
|
|
12
13
|
}
|
|
13
14
|
};
|
|
14
15
|
it("Preparation", async function () {
|
|
15
|
-
await common.navigation.navigateToUrl(
|
|
16
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.tnt.NavigationList/sample/sap.tnt.sample.NavigationList`);
|
|
16
17
|
await handleCookiesConsent();
|
|
17
18
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
18
19
|
});
|
|
@@ -36,7 +37,7 @@ describe("element - waitForAll - error case", function () {
|
|
|
36
37
|
}
|
|
37
38
|
};
|
|
38
39
|
it("Preparation", async function () {
|
|
39
|
-
await common.navigation.navigateToUrl(
|
|
40
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.tnt.NavigationList/sample/sap.tnt.sample.NavigationList`);
|
|
40
41
|
await handleCookiesConsent();
|
|
41
42
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
42
43
|
});
|
|
@@ -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("errorDialog - clickClose", function () {
|
|
7
8
|
|
|
8
9
|
it("Preparation", async function () {
|
|
9
|
-
await common.navigation.navigateToUrl(
|
|
10
|
+
await common.navigation.navigateToUrl(`${BASE_URL}/#/entity/sap.m.Dialog/sample/sap.m.sample.Dialog`);
|
|
10
11
|
await handleCookiesConsent();
|
|
11
12
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
12
13
|
});
|