@sap_oss/wdio-qmate-service 2.7.1 → 2.7.3
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/sections/bestPractices/selectors.md +1 -1
- package/docs/sections/features/selectors.md +2 -2
- package/lib/index.js.map +1 -1
- package/lib/reuse/authenticator/authHandler.js.map +1 -1
- package/lib/reuse/authenticator/basicUrlAuthenticator.js.map +1 -1
- package/lib/reuse/authenticator/customAuthenticator.js.map +1 -1
- package/lib/reuse/authenticator/formAuthenticator.js.map +1 -1
- package/lib/reuse/authenticator/plainAuthenticator.js.map +1 -1
- package/lib/reuse/helper/clientsideUI5scripts.js.map +1 -1
- package/lib/reuse/helper/elementHighlight.js.map +1 -1
- package/lib/reuse/helper/elementResolving.js.map +1 -1
- package/lib/reuse/helper/errorHandler.js.map +1 -1
- package/lib/reuse/helper/inputValidation.js.map +1 -1
- package/lib/reuse/helper/jsDocGen.js.map +1 -1
- package/lib/reuse/helper/jsonDocGen.js.map +1 -1
- package/lib/reuse/modules/common/constants/date.constants.js +1 -1
- package/lib/reuse/modules/common/constants/date.constants.js.map +1 -1
- package/lib/reuse/modules/common/constants/userInteraction.constants.js +1 -1
- package/lib/reuse/modules/common/constants/userInteraction.constants.js.map +1 -1
- package/lib/reuse/modules/common/date.js.map +1 -1
- package/lib/reuse/modules/common/navigation.js.map +1 -1
- package/lib/reuse/modules/common/userInteraction.js.map +1 -1
- package/lib/reuse/modules/nonUi5/assertion.js.map +1 -1
- package/lib/reuse/modules/nonUi5/element.js.map +1 -1
- package/lib/reuse/modules/nonUi5/navigation.js.map +1 -1
- package/lib/reuse/modules/nonUi5/session.js.map +1 -1
- package/lib/reuse/modules/nonUi5/userInteraction.js.map +1 -1
- package/lib/reuse/modules/service/odata.d.ts +74 -48
- package/lib/reuse/modules/service/odata.js +167 -134
- package/lib/reuse/modules/service/odata.js.map +1 -1
- package/lib/reuse/modules/service/rest.js.map +1 -1
- package/lib/reuse/modules/ui5/assertion.js +9 -0
- package/lib/reuse/modules/ui5/assertion.js.map +1 -1
- package/lib/reuse/modules/ui5/constants/mockserver.constants.js +1 -1
- package/lib/reuse/modules/ui5/constants/mockserver.constants.js.map +1 -1
- package/lib/reuse/modules/ui5/control.js.map +1 -1
- package/lib/reuse/modules/ui5/date.d.ts +1 -1
- package/lib/reuse/modules/ui5/date.js +1 -1
- package/lib/reuse/modules/ui5/date.js.map +1 -1
- package/lib/reuse/modules/ui5/element.js.map +1 -1
- package/lib/reuse/modules/ui5/mockserver.js.map +1 -1
- package/lib/reuse/modules/ui5/navigation.js.map +1 -1
- package/lib/reuse/modules/ui5/navigationBar.js.map +1 -1
- package/lib/reuse/modules/ui5/qunit.js.map +1 -1
- package/lib/reuse/modules/ui5/session.js +1 -1
- package/lib/reuse/modules/ui5/session.js.map +1 -1
- package/lib/reuse/modules/ui5/table.js.map +1 -1
- package/lib/reuse/modules/ui5/userInteraction.js.map +1 -1
- package/lib/reuse/modules/util/browser.js.map +1 -1
- package/lib/reuse/modules/util/component.js.map +1 -1
- package/lib/reuse/modules/util/console.js.map +1 -1
- package/lib/reuse/modules/util/constants/formatter.constants.js +1 -1
- package/lib/reuse/modules/util/constants/formatter.constants.js.map +1 -1
- package/lib/reuse/modules/util/data.js.map +1 -1
- package/lib/reuse/modules/util/file.js.map +1 -1
- package/lib/reuse/modules/util/formatter.js.map +1 -1
- package/lib/reuse/modules/util/function.js.map +1 -1
- package/lib/reuse/modules/util/system.js.map +1 -1
- package/lib/reuse/runner/runner.js.map +1 -1
- package/lib/scripts/clientsideUI5scripts.js.map +1 -1
- package/lib/scripts/dataExchange/dataExchange.js.map +1 -1
- package/lib/scripts/dataExchange/dataExchangeUtil.js.map +1 -1
- package/lib/scripts/hooks/beforeSession.js.map +1 -1
- package/lib/scripts/hooks/onPrepare.js.map +1 -1
- package/lib/scripts/hooks/utils/addLocatorCommands.js.map +1 -1
- package/lib/scripts/hooks/utils/browserLog.js.map +1 -1
- package/lib/scripts/hooks/utils/cycle.js.map +1 -1
- package/lib/scripts/hooks/utils/dataExchangeCommands.js.map +1 -1
- package/lib/scripts/hooks/utils/decryption.js.map +1 -1
- package/lib/scripts/hooks/utils/lib.js.map +1 -1
- package/lib/scripts/hooks/utils/locatorCommands.js.map +1 -1
- package/lib/scripts/locators/qmateLocator.js.map +1 -1
- package/lib/scripts/locators/uiveri5Locator.js.map +1 -1
- package/package.json +13 -13
- package/test/core/functional/chaining/test.conf.js +1 -1
- package/test/core/functional/locators/ancestorProperties.test.js +3 -3
- package/test/core/functional/locators/childProperties.test.js +1 -1
- package/test/core/functional/locators/descendantProperties.test.js +2 -2
- package/test/core/functional/locators/parentProperties.test.js +1 -1
- package/test/core/functional/locators/test.locator.conf.js +1 -1
- package/test/core/functional/nativeBrowser/runInBrowser.test.js +1 -1
- package/test/core/functional/nativeBrowser/test.conf.js +1 -1
- package/test/core/functional/nonUi5/test.conf.js +1 -1
- package/test/core/functional/ui5Properties/getAggregations.test.js +3 -3
- package/test/core/functional/ui5Properties/getProperties.test.js +4 -4
- package/test/core/functional/ui5Properties/test.conf.js +1 -1
- package/test/core/functional/uiveri5/test.conf.js +1 -1
- package/test/core/testIntegration/config.js +1 -1
- package/test/core/testIntegration/configMultiCombo.js +1 -1
- package/test/core/testIntegration/configTable.js +1 -1
- package/test/reuse/common/assertion/test.assertion.conf.js +1 -1
- package/test/reuse/common/navigation/navigateToUrl.spec.js +1 -1
- package/test/reuse/common/navigation/navigateToUrlAndRetry.spec.js +1 -1
- package/test/reuse/common/userInteraction/clearAndFillActive.spec.js +3 -3
- package/test/reuse/common/userInteraction/clearAndFillActiveAndRetry.spec.js +3 -3
- package/test/reuse/common/userInteraction/fillActive.spec.js +6 -6
- package/test/reuse/common/userInteraction/fillActiveAndRetry.spec.js +4 -4
- package/test/reuse/common/userInteraction/pressKey.spec.js +1 -1
- package/test/reuse/nonUi5/assertion/expectToBeVisible.spec.js +1 -1
- package/test/reuse/nonUi5/assertion/expectValueToBe.spec.js +2 -2
- package/test/reuse/nonUi5/assertion/test.assertion.conf.js +1 -1
- package/test/reuse/nonUi5/assertion/test.assertion.sauceLabs.conf.js +1 -1
- package/test/reuse/nonUi5/element/getAttributeValue.spec.js +3 -3
- package/test/reuse/nonUi5/element/getByChild.spec.js +4 -4
- package/test/reuse/nonUi5/element/getByClass.spec.js +4 -4
- package/test/reuse/nonUi5/element/getByCss.spec.js +3 -3
- package/test/reuse/nonUi5/element/getByCssContainingText.spec.js +4 -4
- package/test/reuse/nonUi5/element/getById.spec.js +3 -3
- package/test/reuse/nonUi5/element/getByParent.spec.js +4 -4
- package/test/reuse/nonUi5/element/getByXPath.spec.js +2 -2
- package/test/reuse/nonUi5/element/getValue.spec.js +3 -3
- package/test/reuse/nonUi5/element/highlight.spec.js +1 -1
- package/test/reuse/nonUi5/element/isPresent.spec.js +3 -3
- package/test/reuse/nonUi5/element/isPresentByCss.spec.js +2 -2
- package/test/reuse/nonUi5/element/isPresentByXPath.spec.js +2 -2
- package/test/reuse/nonUi5/element/setInnerHTML.spec.js +1 -1
- package/test/reuse/nonUi5/element/test.element.conf.js +1 -1
- package/test/reuse/nonUi5/element/test.element.sauceLabs.conf.js +1 -1
- package/test/reuse/nonUi5/userInteraction/doubleClick.spec.js +1 -1
- package/test/reuse/nonUi5/userInteraction/moveCursorAndClick.spec.js +1 -1
- package/test/reuse/nonUi5/userInteraction/rightClick.spec.js +1 -1
- package/test/reuse/nonUi5/userInteraction/scrollToElement.spec.js +3 -3
- package/test/reuse/service/odata/get.spec.js +4 -10
- package/test/reuse/service/odata/getEntitySet.spec.js +2 -8
- package/test/reuse/ui5/assertion/expectMessageToastTextToBe.spec.js +2 -2
- package/test/reuse/ui5/assertion/expectToBeVisible.spec.js +1 -1
- package/test/reuse/ui5/assertion/expectToBeVisibleInViewport.spec.js +1 -1
- package/test/reuse/ui5/assertion/expectValidationError.spec.js +2 -2
- package/test/reuse/ui5/assertion/expectValidationSuccess.spec.js +2 -2
- package/test/reuse/ui5/assertion/expectValueToBeDefined.spec.js +1 -1
- package/test/reuse/ui5/assertion/test.assertion.conf.js +1 -1
- package/test/reuse/ui5/assertion/test.assertion.sauceLab.conf.js +1 -1
- package/test/reuse/ui5/confirmationDialog/clickButton.spec.js +2 -2
- package/test/reuse/ui5/confirmationDialog/clickNo.spec.js +2 -2
- package/test/reuse/ui5/confirmationDialog/clickOk.spec.js +1 -1
- package/test/reuse/ui5/confirmationDialog/clickYes.spec.js +1 -1
- package/test/reuse/ui5/confirmationDialog/test.confirmationDialog.conf.js +1 -1
- package/test/reuse/ui5/confirmationDialog/test.confirmationDialog.sauceLab.conf.js +1 -1
- package/test/reuse/ui5/control/focus.spec.js +4 -4
- package/test/reuse/ui5/control/getAggregationProperty.spec.js +2 -2
- package/test/reuse/ui5/control/getAssociationProperty.spec.js +2 -2
- package/test/reuse/ui5/control/test.control.conf.js +1 -1
- package/test/reuse/ui5/control/test.control.sauceLab.conf.js +1 -1
- package/test/reuse/ui5/date/fillRange.spec.js +2 -2
- package/test/reuse/ui5/date/pick.spec.js +4 -4
- package/test/reuse/ui5/date/pickRange.spec.js +4 -4
- package/test/reuse/ui5/element/getByChild.spec.js +3 -3
- package/test/reuse/ui5/element/getByParent.spec.js +3 -3
- package/test/reuse/ui5/element/getByText.spec.js +1 -1
- package/test/reuse/ui5/element/getPropertyValue.spec.js +1 -1
- package/test/reuse/ui5/element/test.element.conf.js +1 -1
- package/test/reuse/ui5/element/test.element.sauceLab.conf.js +1 -1
- package/test/reuse/ui5/element/waitForAll.spec.js +2 -2
- package/test/reuse/ui5/errorDialog/clickClose.spec.js +1 -1
- package/test/reuse/ui5/errorDialog/expectToBeVisible.spec.js +1 -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/test.navigationBar.sauceLab.conf.js +1 -1
- package/test/reuse/ui5/session/logout.spec.js +1 -1
- package/test/reuse/ui5/table/clickSettingsButton.spec.js +2 -2
- package/test/reuse/ui5/table/sortColumnAscending.spec.js +3 -3
- package/test/reuse/ui5/table/sortColumnDescending.spec.js +3 -3
- package/test/reuse/ui5/userInteraction/check.spec.js +3 -3
- package/test/reuse/ui5/userInteraction/clear.spec.js +3 -3
- package/test/reuse/ui5/userInteraction/clearAndFill.spec.js +6 -6
- package/test/reuse/ui5/userInteraction/clearAndFillAndRetry.spec.js +5 -5
- package/test/reuse/ui5/userInteraction/clearAndFillSmartFieldInput.spec.js +2 -2
- package/test/reuse/ui5/userInteraction/clearAndFillSmartFieldInputAndRetry.spec.js +1 -1
- package/test/reuse/ui5/userInteraction/clearAndRetry.spec.js +2 -2
- package/test/reuse/ui5/userInteraction/click.spec.js +4 -4
- package/test/reuse/ui5/userInteraction/clickAndRetry.spec.js +3 -3
- package/test/reuse/ui5/userInteraction/clickSelectArrow.spec.js +2 -2
- package/test/reuse/ui5/userInteraction/clickSelectArrowAndRetry.spec.js +3 -3
- package/test/reuse/ui5/userInteraction/clickTab.spec.js +3 -3
- package/test/reuse/ui5/userInteraction/doubleClick.spec.js +4 -4
- package/test/reuse/ui5/userInteraction/dragAndDrop.spec.js +1 -1
- package/test/reuse/ui5/userInteraction/fill.spec.js +4 -4
- package/test/reuse/ui5/userInteraction/fillAndRetry.spec.js +4 -4
- package/test/reuse/ui5/userInteraction/mouseOverElement.spec.js +2 -2
- package/test/reuse/ui5/userInteraction/openF4Help.spec.js +2 -2
- package/test/reuse/ui5/userInteraction/rightClick.spec.js +4 -4
- package/test/reuse/ui5/userInteraction/scrollToElement.spec.js +4 -4
- package/test/reuse/ui5/userInteraction/searchFor.spec.js +4 -4
- package/test/reuse/ui5/userInteraction/selectBox.spec.js +4 -4
- package/test/reuse/ui5/userInteraction/selectCombobox.spec.js +4 -4
- package/test/reuse/ui5/userInteraction/selectFromTab.spec.js +1 -1
- package/test/reuse/ui5/userInteraction/selectMultiComboBox.spec.js +5 -5
- package/test/reuse/ui5/userInteraction/test.userInteraction.conf.js +1 -1
- package/test/reuse/ui5/userInteraction/test.userInteraction.sauceLab.conf.js +1 -1
- package/test/reuse/ui5/userInteraction/uncheck.spec.js +3 -3
- package/test/reuse/util/browser/back.spec.js +1 -1
- package/test/reuse/util/browser/forward.spec.js +1 -1
- package/test/reuse/util/browser/getBaseUrl.spec.js +1 -1
- package/test/reuse/util/browser/getBrowserName.spec.js +1 -1
- package/test/reuse/util/browser/getCurrentWindow.spec.js +2 -2
- package/test/reuse/util/browser/setBaseUrl.spec.js +2 -2
- package/test/reuse/util/browser/switchToWindow.spec.js +2 -2
- package/test/reuse/util/browser/test.browser.conf.js +1 -1
- package/test/reuse/util/file/test.file.conf.js +1 -1
- package/test/reuse/util/file/upload.spec.js +2 -2
- package/test/reuse/util/formatter/test.formatter.conf.js +1 -1
- package/test/reuse/util/system/test.system.conf.js +1 -1
- package/tsconfig.json +0 -1
|
@@ -4,7 +4,7 @@ const { handleCookiesConsent } = require("../../../helper/utils");
|
|
|
4
4
|
|
|
5
5
|
describe("userInteraction - Double click on Switch button", async function () {
|
|
6
6
|
it("Preparation", async function () {
|
|
7
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.
|
|
7
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.Select/sample/sap.m.sample.Select");
|
|
8
8
|
await handleCookiesConsent();
|
|
9
9
|
});
|
|
10
10
|
|
|
@@ -2,7 +2,7 @@ const { handleCookiesConsent } = require("../../../helper/utils");
|
|
|
2
2
|
|
|
3
3
|
describe("userInteraction - moveCursorAndClick - chart tests", function () {
|
|
4
4
|
it("Preparation", async function () {
|
|
5
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.
|
|
5
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.viz.ui5.controls.VizFrame/sample/sap.viz.sample.Donut");
|
|
6
6
|
await handleCookiesConsent();
|
|
7
7
|
});
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ const { handleCookiesConsent } = require("../../../helper/utils");
|
|
|
2
2
|
|
|
3
3
|
describe("userInteraction - rightClick", async function () {
|
|
4
4
|
it("Preparation", async function () {
|
|
5
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.
|
|
5
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.TextArea/sample/sap.m.sample.TextArea");
|
|
6
6
|
await handleCookiesConsent();
|
|
7
7
|
});
|
|
8
8
|
|
|
@@ -5,7 +5,7 @@ describe("userInteraction - scrollToElement - default alignment options", functi
|
|
|
5
5
|
let elem;
|
|
6
6
|
|
|
7
7
|
it("Preparation", async function () {
|
|
8
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.
|
|
8
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/api");
|
|
9
9
|
await handleCookiesConsent();
|
|
10
10
|
});
|
|
11
11
|
|
|
@@ -25,7 +25,7 @@ describe("userInteraction - scrollToElement - alignment is center", function ()
|
|
|
25
25
|
let elem, alignment;
|
|
26
26
|
|
|
27
27
|
it("Preparation", async function () {
|
|
28
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.
|
|
28
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/api");
|
|
29
29
|
await handleCookiesConsent();
|
|
30
30
|
await browser.setWindowSize(1200, 800);
|
|
31
31
|
});
|
|
@@ -45,7 +45,7 @@ describe("userInteraction - scrollToElement - alignment is center", function ()
|
|
|
45
45
|
|
|
46
46
|
describe("locator - scrollToElement - wrong element (error case)", function () {
|
|
47
47
|
it("Preparation", async function () {
|
|
48
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.
|
|
48
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
49
49
|
await handleCookiesConsent();
|
|
50
50
|
});
|
|
51
51
|
|
|
@@ -8,13 +8,12 @@ describe("odata - get", function () {
|
|
|
8
8
|
});
|
|
9
9
|
|
|
10
10
|
it("Execution", async function () {
|
|
11
|
-
res = await service.odata.get(srv, "People", {
|
|
11
|
+
res = await service.odata.get(srv, "People", { UserName: "willieashmore", LastName: "Ashmore" });
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
it("Verification", async function () {
|
|
15
15
|
await common.assertion.expectDefined(res);
|
|
16
16
|
});
|
|
17
|
-
|
|
18
17
|
});
|
|
19
18
|
|
|
20
19
|
describe("odata - get - wrong value", function () {
|
|
@@ -25,13 +24,12 @@ describe("odata - get - wrong value", function () {
|
|
|
25
24
|
});
|
|
26
25
|
|
|
27
26
|
it("Execution", async function () {
|
|
28
|
-
res = await service.odata.get(srv, "People", {
|
|
27
|
+
res = await service.odata.get(srv, "People", { UserName: "wrongvalue" });
|
|
29
28
|
});
|
|
30
29
|
|
|
31
30
|
it("Verification", async function () {
|
|
32
31
|
await common.assertion.expectTrue(res === null);
|
|
33
32
|
});
|
|
34
|
-
|
|
35
33
|
});
|
|
36
34
|
|
|
37
35
|
describe("odata - get - wrong key", function () {
|
|
@@ -41,10 +39,8 @@ describe("odata - get - wrong key", function () {
|
|
|
41
39
|
});
|
|
42
40
|
|
|
43
41
|
it("Execution and Verification", async function () {
|
|
44
|
-
await expect(service.odata.get(srv, "People", {
|
|
45
|
-
.rejects.toThrow(/Key property UserName is not defined/);
|
|
42
|
+
await expect(service.odata.get(srv, "People", { WrongKey: "SomeValue" })).rejects.toThrow(/Key property UserName is not defined/);
|
|
46
43
|
});
|
|
47
|
-
|
|
48
44
|
});
|
|
49
45
|
|
|
50
46
|
describe("odata - get - wrong entity set", function () {
|
|
@@ -54,8 +50,6 @@ describe("odata - get - wrong entity set", function () {
|
|
|
54
50
|
});
|
|
55
51
|
|
|
56
52
|
it("Execution and Verification", async function () {
|
|
57
|
-
await expect(service.odata.get(srv, "WrongEntitySet", {
|
|
58
|
-
.rejects.toThrow(/No entity set .* available in service/);
|
|
53
|
+
await expect(service.odata.get(srv, "WrongEntitySet", { UserName: "willieashmore" })).rejects.toThrow(/Entity Set .* not found in service./);
|
|
59
54
|
});
|
|
60
|
-
|
|
61
55
|
});
|
|
@@ -15,7 +15,6 @@ describe("odata - getEntitySet", function () {
|
|
|
15
15
|
await common.assertion.expectTrue(res.length > 0);
|
|
16
16
|
await common.assertion.expectDefined(res[0].UserName);
|
|
17
17
|
});
|
|
18
|
-
|
|
19
18
|
});
|
|
20
19
|
|
|
21
20
|
describe("odata - getEntitySet with selected fields", function () {
|
|
@@ -34,7 +33,6 @@ describe("odata - getEntitySet with selected fields", function () {
|
|
|
34
33
|
await common.assertion.expectDefined(res[0].FirstName);
|
|
35
34
|
await common.assertion.expectUndefined(res[0].UserName);
|
|
36
35
|
});
|
|
37
|
-
|
|
38
36
|
});
|
|
39
37
|
|
|
40
38
|
describe("odata - getEntitySet with filter", function () {
|
|
@@ -53,7 +51,6 @@ describe("odata - getEntitySet with filter", function () {
|
|
|
53
51
|
await common.assertion.expectTrue(resBudgetLow.length > 0);
|
|
54
52
|
await common.assertion.expectTrue(resBudgetHigh.length === 0);
|
|
55
53
|
});
|
|
56
|
-
|
|
57
54
|
});
|
|
58
55
|
|
|
59
56
|
describe("odata - getEntitySet with params", function () {
|
|
@@ -64,13 +61,12 @@ describe("odata - getEntitySet with params", function () {
|
|
|
64
61
|
});
|
|
65
62
|
|
|
66
63
|
it("Execution", async function () {
|
|
67
|
-
res = await service.odata.getEntitySet(srv, "People", "", "", {
|
|
64
|
+
res = await service.odata.getEntitySet(srv, "People", "", "", { $top: 2 });
|
|
68
65
|
});
|
|
69
66
|
|
|
70
67
|
it("Verification", async function () {
|
|
71
68
|
await common.assertion.expectTrue(res.length === 2);
|
|
72
69
|
});
|
|
73
|
-
|
|
74
70
|
});
|
|
75
71
|
|
|
76
72
|
describe("odata - getEntitySet - wrong entity set", function () {
|
|
@@ -80,8 +76,6 @@ describe("odata - getEntitySet - wrong entity set", function () {
|
|
|
80
76
|
});
|
|
81
77
|
|
|
82
78
|
it("Execution and Verification", async function () {
|
|
83
|
-
await expect(service.odata.getEntitySet(srv, "WrongEntitySet"))
|
|
84
|
-
.rejects.toThrow(/No entity set .* available in service/);
|
|
79
|
+
await expect(service.odata.getEntitySet(srv, "WrongEntitySet")).rejects.toThrow(/Entity Set .* not found in service./);
|
|
85
80
|
});
|
|
86
|
-
|
|
87
81
|
});
|
|
@@ -5,7 +5,7 @@ const {
|
|
|
5
5
|
|
|
6
6
|
describe("assertion - expectMessageToastTextToBe - no message toast (unhappy case)", function () {
|
|
7
7
|
it("Preparation", async function () {
|
|
8
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.
|
|
8
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.MessageToast/sample/sap.m.sample.MessageToast");
|
|
9
9
|
await handleCookiesConsent();
|
|
10
10
|
});
|
|
11
11
|
|
|
@@ -19,7 +19,7 @@ describe("assertion - expectMessageToastTextToBe - no message toast (unhappy cas
|
|
|
19
19
|
|
|
20
20
|
describe("assertion - expectMessageToastTextToBe", function () {
|
|
21
21
|
it("Preparation", async function () {
|
|
22
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.
|
|
22
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.MessageToast/sample/sap.m.sample.MessageToast");
|
|
23
23
|
await handleCookiesConsent();
|
|
24
24
|
});
|
|
25
25
|
|
|
@@ -49,7 +49,7 @@ describe("assertion - expectToBeVisible with wrong selector", function () {
|
|
|
49
49
|
|
|
50
50
|
describe("assertion - expectToBeVisible outside viewport", function () {
|
|
51
51
|
it("Preparation", async function () {
|
|
52
|
-
await browser.url("https://sapui5.hana.ondemand.com/1.
|
|
52
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.96.27/");
|
|
53
53
|
await handleCookiesConsent();
|
|
54
54
|
});
|
|
55
55
|
|
|
@@ -28,7 +28,7 @@ describe("assertion - expectToBeVisibleInViewport with element in viewport", fun
|
|
|
28
28
|
|
|
29
29
|
describe("assertion - expectToBeVisibleInViewport with element outside viewport (unhappy case)", function () {
|
|
30
30
|
it("Preparation", async function () {
|
|
31
|
-
await browser.url("https://sapui5.hana.ondemand.com/1.
|
|
31
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.96.27/");
|
|
32
32
|
await handleCookiesConsent();
|
|
33
33
|
});
|
|
34
34
|
|
|
@@ -23,7 +23,7 @@ const inputFieldWithCheckSelector = {
|
|
|
23
23
|
|
|
24
24
|
describe("Expect input field 'valueState' not to be 'Error' (unhappy case)", function () {
|
|
25
25
|
it("Preparation", async function () {
|
|
26
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.
|
|
26
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.Input/sample/sap.m.sample.InputChecked");
|
|
27
27
|
await handleCookiesConsent();
|
|
28
28
|
});
|
|
29
29
|
|
|
@@ -38,7 +38,7 @@ describe("Expect input field 'valueState' not to be 'Error' (unhappy case)", fun
|
|
|
38
38
|
|
|
39
39
|
describe("Expect input field 'valueState' to be 'Error'", function () {
|
|
40
40
|
it("Preparation", async function () {
|
|
41
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.
|
|
41
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.Input/sample/sap.m.sample.InputChecked");
|
|
42
42
|
await handleCookiesConsent();
|
|
43
43
|
});
|
|
44
44
|
|
|
@@ -23,7 +23,7 @@ const inputFieldWithCheckSelector = {
|
|
|
23
23
|
|
|
24
24
|
describe("Expect input field 'valueState' to be 'None' (success)", function () {
|
|
25
25
|
it("Preparation", async function () {
|
|
26
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.
|
|
26
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.Input/sample/sap.m.sample.InputChecked");
|
|
27
27
|
await handleCookiesConsent();
|
|
28
28
|
});
|
|
29
29
|
|
|
@@ -37,7 +37,7 @@ describe("Expect input field 'valueState' to be 'None' (success)", function () {
|
|
|
37
37
|
|
|
38
38
|
describe("Expect input field 'valueState' not to be 'None' (unhappy case)", function () {
|
|
39
39
|
it("Preparation", async function () {
|
|
40
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.
|
|
40
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.Input/sample/sap.m.sample.InputChecked");
|
|
41
41
|
await handleCookiesConsent();
|
|
42
42
|
});
|
|
43
43
|
|
|
@@ -6,7 +6,7 @@ const {
|
|
|
6
6
|
describe("assertion - expectValueToBeDefined", function () {
|
|
7
7
|
|
|
8
8
|
it("Preparation", async function () {
|
|
9
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.
|
|
9
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription");
|
|
10
10
|
await handleCookiesConsent();
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@ exports.config = merge(profile.config, {
|
|
|
6
6
|
maxInstances: 6,
|
|
7
7
|
specFileRetries: 2,
|
|
8
8
|
|
|
9
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.
|
|
9
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.96.27/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3",
|
|
10
10
|
|
|
11
11
|
specs: [
|
|
12
12
|
path.resolve(__dirname, "expectAttributeToBe.spec.js"),
|
|
@@ -9,7 +9,7 @@ exports.config = merge(profile.config, {
|
|
|
9
9
|
maxInstances: 2, // note: for the SAP account, only 2 parallel instances is a max value
|
|
10
10
|
|
|
11
11
|
bail: 1,
|
|
12
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.
|
|
12
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.96.27/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3",
|
|
13
13
|
|
|
14
14
|
specs: [
|
|
15
15
|
path.resolve(__dirname, "expectAttributeToBe.spec.js"),
|
|
@@ -11,7 +11,7 @@ const selectorForPopupOkButton = {
|
|
|
11
11
|
|
|
12
12
|
describe("confirmationDialog - clickButton - text 'OK'", function () {
|
|
13
13
|
it("Preparation", async function () {
|
|
14
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.
|
|
14
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.Input/sample/sap.m.sample.InputChecked");
|
|
15
15
|
await handleCookiesConsent();
|
|
16
16
|
|
|
17
17
|
const submitButtonSelector = {
|
|
@@ -62,7 +62,7 @@ describe("confirmationDialog - clickButton - text 'OK' without confirmation dial
|
|
|
62
62
|
|
|
63
63
|
describe("confirmationDialog - clickButton - text 'Cancel'", function () {
|
|
64
64
|
it("Preparation", async function () {
|
|
65
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.
|
|
65
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.MessageBox/sample/sap.m.sample.MessageBox");
|
|
66
66
|
await handleCookiesConsent();
|
|
67
67
|
|
|
68
68
|
const confirmButtonSelector = {
|
|
@@ -17,7 +17,7 @@ const selectorForPopup = {
|
|
|
17
17
|
|
|
18
18
|
describe("confirmationDialog - clickNo", function () {
|
|
19
19
|
it("Preparation", async function () {
|
|
20
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.
|
|
20
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.MessageBox/sample/sap.m.sample.MessageBoxInitialFocus");
|
|
21
21
|
await handleCookiesConsent();
|
|
22
22
|
|
|
23
23
|
const openDialogButton = {
|
|
@@ -52,7 +52,7 @@ describe("confirmationDialog - clickNo", function () {
|
|
|
52
52
|
|
|
53
53
|
describe("confirmationDialog - clickNo without 'No' button (unhappy case)", function () {
|
|
54
54
|
it("Preparation", async function () {
|
|
55
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.
|
|
55
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.MessageBox/sample/sap.m.sample.MessageBoxInitialFocus");
|
|
56
56
|
const openDialogButton = {
|
|
57
57
|
"elementProperties": {
|
|
58
58
|
"viewName": "sap.m.sample.MessageBoxInitialFocus.V",
|
|
@@ -11,7 +11,7 @@ const selectorForPopupOkButton = {
|
|
|
11
11
|
|
|
12
12
|
describe("confirmationDialog - clickOk", function () {
|
|
13
13
|
it("Preparation", async function () {
|
|
14
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.
|
|
14
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.Input/sample/sap.m.sample.InputChecked");
|
|
15
15
|
await handleCookiesConsent();
|
|
16
16
|
|
|
17
17
|
const submitButtonSelector = {
|
|
@@ -17,7 +17,7 @@ const selectorForDialog = {
|
|
|
17
17
|
|
|
18
18
|
describe("confirmationDialog - clickYes", function () {
|
|
19
19
|
it("Preparation", async function () {
|
|
20
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.
|
|
20
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.MessageBox/sample/sap.m.sample.MessageBoxInitialFocus");
|
|
21
21
|
await handleCookiesConsent();
|
|
22
22
|
|
|
23
23
|
const openDialogButton = {
|
|
@@ -6,7 +6,7 @@ exports.config = merge(profile.config, {
|
|
|
6
6
|
maxInstances: 6,
|
|
7
7
|
specFileRetries: 2,
|
|
8
8
|
|
|
9
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.
|
|
9
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.96.27/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3",
|
|
10
10
|
|
|
11
11
|
specs: [
|
|
12
12
|
path.resolve(__dirname, "clickOk.spec.js"),
|
|
@@ -9,7 +9,7 @@ exports.config = merge(profile.config, {
|
|
|
9
9
|
maxInstances: 2, // note: for the SAP account, only 2 parallel instances is a max value
|
|
10
10
|
|
|
11
11
|
bail: 1,
|
|
12
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.
|
|
12
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.96.27/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3",
|
|
13
13
|
|
|
14
14
|
specs: [
|
|
15
15
|
path.resolve(__dirname, "clickOk.spec.js"),
|
|
@@ -3,7 +3,7 @@ const { handleCookiesConsent } = require("../../../helper/utils");
|
|
|
3
3
|
|
|
4
4
|
describe("control - focus - for a input field", function () {
|
|
5
5
|
it("Preparation", async function () {
|
|
6
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.
|
|
6
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.TextInEditModeSource");
|
|
7
7
|
await handleCookiesConsent();
|
|
8
8
|
});
|
|
9
9
|
|
|
@@ -22,7 +22,7 @@ describe("control - focus - for a input field", function () {
|
|
|
22
22
|
|
|
23
23
|
describe("control - focus", function () {
|
|
24
24
|
it("Preparation", async function () {
|
|
25
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.
|
|
25
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.ActionSheet");
|
|
26
26
|
await handleCookiesConsent();
|
|
27
27
|
});
|
|
28
28
|
|
|
@@ -41,7 +41,7 @@ describe("control - focus", function () {
|
|
|
41
41
|
|
|
42
42
|
describe("control - focus - outside of viewpoint", function () {
|
|
43
43
|
it("Preparation", async function () {
|
|
44
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.
|
|
44
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.MultiComboBox/sample/sap.m.sample.MultiComboBox");
|
|
45
45
|
await handleCookiesConsent();
|
|
46
46
|
});
|
|
47
47
|
|
|
@@ -79,7 +79,7 @@ describe("control - focus - outside of viewpoint", function () {
|
|
|
79
79
|
describe("control - focus - no selector found and catch error", function () {
|
|
80
80
|
|
|
81
81
|
it("Preparation", async function () {
|
|
82
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.
|
|
82
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.96.27/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
83
83
|
});
|
|
84
84
|
|
|
85
85
|
it("Execution & Verification", async function () {
|
|
@@ -38,7 +38,7 @@ describe("getAggregationProperty - columns of table", async () => {
|
|
|
38
38
|
let val;
|
|
39
39
|
const expectedColumns = ["Product", "Supplier", "Dimensions", "Weight", "Price"];
|
|
40
40
|
it("Preparation", async () => {
|
|
41
|
-
const url = "https://sapui5.hana.ondemand.com/1.
|
|
41
|
+
const url = "https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.Table/sample/sap.m.sample.Table";
|
|
42
42
|
await common.navigation.navigateToUrl(url);
|
|
43
43
|
await handleCookiesConsent();
|
|
44
44
|
});
|
|
@@ -63,7 +63,7 @@ describe("getAggregationProperty - items in list", async () => {
|
|
|
63
63
|
let val;
|
|
64
64
|
const expectedItems = ["ITelO Vault", "Notebook Basic 15", "Notebook Basic 17", "Notebook Basic 18", "Notebook Basic 19"];
|
|
65
65
|
it("Preparation", async () => {
|
|
66
|
-
const url = "https://sapui5.hana.ondemand.com/1.
|
|
66
|
+
const url = "https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.Select/sample/sap.m.sample.Select";
|
|
67
67
|
await common.navigation.navigateToUrl(url);
|
|
68
68
|
await handleCookiesConsent();
|
|
69
69
|
});
|
|
@@ -4,7 +4,7 @@ const { handleCookiesConsent } = require("../../../helper/utils");
|
|
|
4
4
|
describe("getAssociationProperty - 'ariaDescribedBy' of Button", function () {
|
|
5
5
|
let val;
|
|
6
6
|
it("Preparation", async () => {
|
|
7
|
-
const url = "https://sapui5.hana.ondemand.com/1.
|
|
7
|
+
const url = "https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.Button/sample/sap.m.sample.Button";
|
|
8
8
|
await common.navigation.navigateToUrl(url);
|
|
9
9
|
await handleCookiesConsent();
|
|
10
10
|
});
|
|
@@ -32,7 +32,7 @@ describe("getAssociationProperty - 'ariaDescribedBy' of Button", function () {
|
|
|
32
32
|
describe("getAssociationProperty - 'selectedItems' of MultiComboBox", function () {
|
|
33
33
|
let selector, selectedItems;
|
|
34
34
|
it("Preparation", async () => {
|
|
35
|
-
const url = "https://sapui5.hana.ondemand.com/1.
|
|
35
|
+
const url = "https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.MultiComboBox/sample/sap.m.sample.MultiComboBox";
|
|
36
36
|
await common.navigation.navigateToUrl(url);
|
|
37
37
|
await handleCookiesConsent();
|
|
38
38
|
selector = {
|
|
@@ -6,7 +6,7 @@ exports.config = merge(profile.config, {
|
|
|
6
6
|
maxInstances: 6,
|
|
7
7
|
specFileRetries: 2,
|
|
8
8
|
|
|
9
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.
|
|
9
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.96.27/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3",
|
|
10
10
|
|
|
11
11
|
specs: [
|
|
12
12
|
path.resolve(__dirname, "execute.spec.js"),
|
|
@@ -10,7 +10,7 @@ exports.config = merge(profile.config, {
|
|
|
10
10
|
maxInstances: 2, // note: for the SAP account, only 2 parallel instances is a max value
|
|
11
11
|
|
|
12
12
|
bail: 1,
|
|
13
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.
|
|
13
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.96.27/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3",
|
|
14
14
|
|
|
15
15
|
specs: [
|
|
16
16
|
path.resolve(__dirname, "execute.spec.js"),
|
|
@@ -16,7 +16,7 @@ const dataRangeSelector = {
|
|
|
16
16
|
};
|
|
17
17
|
describe("date - fillRange", function () {
|
|
18
18
|
it("Preparation", async function () {
|
|
19
|
-
await browser.url("https://sapui5.hana.ondemand.com/1.
|
|
19
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.DateRangeSelection/sample/sap.m.sample.DateRangeSelectionValueState");
|
|
20
20
|
await handleCookiesConsent();
|
|
21
21
|
});
|
|
22
22
|
|
|
@@ -43,7 +43,7 @@ describe("date - fillRange", function () {
|
|
|
43
43
|
|
|
44
44
|
describe("date - fillRange: no such field on a screen (unhappy case)", function () {
|
|
45
45
|
it("Preparation", async function () {
|
|
46
|
-
await browser.url("https://sapui5.hana.ondemand.com/1.
|
|
46
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.96.27/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
it("Execution & Verification", async function () {
|
|
@@ -17,7 +17,7 @@ describe("date - pick - when datePicker has not assigned any date", function ()
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
it("Preparation", async function () {
|
|
20
|
-
await browser.url("https://sapui5.hana.ondemand.com/1.
|
|
20
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker");
|
|
21
21
|
await handleCookiesConsent();
|
|
22
22
|
});
|
|
23
23
|
|
|
@@ -55,7 +55,7 @@ describe("date - pick - when datePicker already has date assigned and we change
|
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
it("Preparation", async function () {
|
|
58
|
-
await browser.url("https://sapui5.hana.ondemand.com/1.
|
|
58
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker");
|
|
59
59
|
await handleCookiesConsent();
|
|
60
60
|
});
|
|
61
61
|
|
|
@@ -93,7 +93,7 @@ describe("date - pick - using selector for sap.ui.core.Icon", function () {
|
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
it("Preparation", async function () {
|
|
96
|
-
await browser.url("https://sapui5.hana.ondemand.com/1.
|
|
96
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker");
|
|
97
97
|
await handleCookiesConsent();
|
|
98
98
|
});
|
|
99
99
|
|
|
@@ -126,7 +126,7 @@ describe("date - pick without datePiker (unhappy case)", function () {
|
|
|
126
126
|
};
|
|
127
127
|
|
|
128
128
|
it("Preparation", async function () {
|
|
129
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.
|
|
129
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.96.27/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
130
130
|
});
|
|
131
131
|
|
|
132
132
|
it("Execution & Verification", async function () {
|
|
@@ -24,7 +24,7 @@ describe("date - pickRange - when DateRangeSelection do not have any value", fun
|
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
it("Preparation", async function () {
|
|
27
|
-
await browser.url("https://sapui5.hana.ondemand.com/1.
|
|
27
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.DateRangeSelection/sample/sap.m.sample.DateRangeSelectionValueState");
|
|
28
28
|
await handleCookiesConsent();
|
|
29
29
|
});
|
|
30
30
|
|
|
@@ -60,7 +60,7 @@ describe("date - pickRange - with index as 2", function () {
|
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
it("Preparation", async function () {
|
|
63
|
-
await browser.url("https://sapui5.hana.ondemand.com/1.
|
|
63
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.DateRangeSelection/sample/sap.m.sample.DateRangeSelectionValueState");
|
|
64
64
|
await handleCookiesConsent();
|
|
65
65
|
});
|
|
66
66
|
|
|
@@ -105,7 +105,7 @@ describe("date - pickRange - with icon as selector", function () {
|
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
it("Preparation", async function () {
|
|
108
|
-
await browser.url("https://sapui5.hana.ondemand.com/1.
|
|
108
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.DateRangeSelection/sample/sap.m.sample.DateRangeSelectionValueState");
|
|
109
109
|
await handleCookiesConsent();
|
|
110
110
|
});
|
|
111
111
|
|
|
@@ -133,7 +133,7 @@ describe("date - pickRange without datePiker (unhappy case)", function () {
|
|
|
133
133
|
};
|
|
134
134
|
|
|
135
135
|
it("Preparation", async function () {
|
|
136
|
-
await browser.url("https://sapui5.hana.ondemand.com/1.
|
|
136
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.96.27/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
137
137
|
});
|
|
138
138
|
|
|
139
139
|
it("Execution & Verification", async function () {
|
|
@@ -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("https://sapui5.hana.ondemand.com/1.
|
|
12
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
13
13
|
await handleCookiesConsent();
|
|
14
14
|
});
|
|
15
15
|
|
|
@@ -48,7 +48,7 @@ describe("element - getByChild - with ignored nested selectors", function () {
|
|
|
48
48
|
let elem;
|
|
49
49
|
|
|
50
50
|
it("Preparation", async function () {
|
|
51
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.
|
|
51
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
52
52
|
await handleCookiesConsent();
|
|
53
53
|
});
|
|
54
54
|
|
|
@@ -96,7 +96,7 @@ describe("element - getByChild - with inner nested selectors and index", functio
|
|
|
96
96
|
let elem;
|
|
97
97
|
|
|
98
98
|
it("Preparation", async function () {
|
|
99
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.
|
|
99
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
100
100
|
await handleCookiesConsent();
|
|
101
101
|
});
|
|
102
102
|
|
|
@@ -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("https://sapui5.hana.ondemand.com/1.
|
|
12
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
13
13
|
await handleCookiesConsent();
|
|
14
14
|
});
|
|
15
15
|
|
|
@@ -48,7 +48,7 @@ describe("element - getByParent - with ignored nested selectors", function () {
|
|
|
48
48
|
let elem;
|
|
49
49
|
|
|
50
50
|
it("Preparation", async function () {
|
|
51
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.
|
|
51
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
52
52
|
await handleCookiesConsent();
|
|
53
53
|
});
|
|
54
54
|
|
|
@@ -95,7 +95,7 @@ describe("element - getByParent - with inner nested selectors and index", functi
|
|
|
95
95
|
let elem;
|
|
96
96
|
|
|
97
97
|
it("Preparation", async function () {
|
|
98
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.
|
|
98
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
99
99
|
await handleCookiesConsent();
|
|
100
100
|
});
|
|
101
101
|
|
|
@@ -47,7 +47,7 @@ describe("element - getByText with index 1 (unhappy case)", function () {
|
|
|
47
47
|
const value = "Gaming Monster";
|
|
48
48
|
|
|
49
49
|
it("Preparation", async function () {
|
|
50
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.
|
|
50
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/category/DC");
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
it("Execution", async function () {
|
|
@@ -71,7 +71,7 @@ describe("element - getPropertyValue - wrong selector", function () {
|
|
|
71
71
|
|
|
72
72
|
describe("element - getPropertyValue - boolean property", function () {
|
|
73
73
|
it("Preparation", async function () {
|
|
74
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.
|
|
74
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.m.CheckBox/sample/sap.m.sample.CheckBox");
|
|
75
75
|
});
|
|
76
76
|
|
|
77
77
|
it("Execution & Verification", async function () {
|
|
@@ -5,7 +5,7 @@ exports.config = merge(profile.config, {
|
|
|
5
5
|
maxInstances: 6,
|
|
6
6
|
specFileRetries: 2,
|
|
7
7
|
|
|
8
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.
|
|
8
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.96.27/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3",
|
|
9
9
|
|
|
10
10
|
specs: [
|
|
11
11
|
path.resolve(__dirname, "getBindingValue.spec.js"),
|