@sap_oss/wdio-qmate-service 2.16.0 → 2.16.2
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/REUSE.toml +11 -0
- package/docs/doc.md +4 -2
- package/docs/sections/bestPractices/dataHandling.md +1 -1
- package/docs/sections/contact.md +8 -2
- package/docs/sections/features/advancedDataHandling.md +2 -0
- package/docs/sections/features/config.md +2 -0
- package/docs/sections/gettingStarted/config.md +2 -0
- package/docs/sections/gettingStarted/execution.md +2 -0
- package/docs/sections/gettingStarted/setup.md +2 -0
- package/docs/sections/gettingStarted/spec.md +2 -0
- package/docs/sections/support/knownIssuesAndLimitations.md +2 -0
- package/lib/reuse/modules/nonUi5/userInteraction.d.ts +2 -2
- package/lib/reuse/modules/nonUi5/userInteraction.js +2 -2
- package/lib/reuse/modules/service/odata.d.ts +7 -1
- package/lib/reuse/modules/service/odata.js +17 -12
- package/lib/reuse/modules/service/odata.js.map +1 -1
- package/lib/reuse/modules/ui5/session.js +19 -9
- package/lib/reuse/modules/ui5/session.js.map +1 -1
- package/package.json +2 -2
- package/test/core/functional/chaining/test.conf.js +1 -1
- package/test/core/functional/locators/ancestorProperties.test.js +6 -3
- package/test/core/functional/locators/childProperties.test.js +2 -1
- package/test/core/functional/locators/descendantProperties.test.js +4 -2
- package/test/core/functional/locators/mixedProperties.test.js +2 -3
- package/test/core/functional/locators/parentProperties.test.js +2 -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 +4 -3
- package/test/core/functional/ui5Properties/getAssociations.test.js +1 -1
- package/test/core/functional/ui5Properties/getProperties.test.js +9 -5
- 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/core/testIntegration/filters1.spec.js +103 -103
- package/test/core/testIntegration/multicombobox.spec.js +1 -0
- package/test/core/testIntegration/table.spec.js +1 -0
- 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 +6 -3
- package/test/reuse/common/userInteraction/clearAndFillActiveAndRetry.spec.js +6 -3
- package/test/reuse/common/userInteraction/fillActive.spec.js +8 -6
- package/test/reuse/common/userInteraction/fillActiveAndRetry.spec.js +4 -4
- package/test/reuse/common/userInteraction/pressKey.spec.js +2 -1
- package/test/reuse/nonUi5/assertion/expectCssPropertyValueToBe.spec.js +4 -4
- package/test/reuse/nonUi5/assertion/expectToBeVisible.spec.js +2 -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 +5 -4
- package/test/reuse/nonUi5/element/getByClass.spec.js +4 -4
- package/test/reuse/nonUi5/element/getByCss.spec.js +4 -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 +5 -4
- package/test/reuse/nonUi5/element/getByXPath.spec.js +2 -2
- package/test/reuse/nonUi5/element/getCssPropertyValue.spec.js +3 -3
- 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 +2 -1
- 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 +3 -3
- package/test/reuse/ui5/assertion/expectCssPropertyValueToBe.spec.js +2 -2
- package/test/reuse/ui5/assertion/expectMessageToastTextToBe.spec.js +4 -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 +4 -2
- package/test/reuse/ui5/assertion/expectValidationSuccess.spec.js +4 -2
- package/test/reuse/ui5/assertion/expectValueToBeDefined.spec.js +2 -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 +4 -2
- package/test/reuse/ui5/confirmationDialog/clickNo.spec.js +4 -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 +1 -1
- package/test/reuse/ui5/confirmationDialog/test.confirmationDialog.sauceLab.conf.js +1 -1
- package/test/reuse/ui5/control/focus.spec.js +6 -4
- package/test/reuse/ui5/control/getAggregationProperty.spec.js +4 -2
- package/test/reuse/ui5/control/getAssociationProperty.spec.js +5 -3
- 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 +3 -2
- package/test/reuse/ui5/date/pick.spec.js +7 -4
- package/test/reuse/ui5/date/pickRange.spec.js +8 -4
- package/test/reuse/ui5/element/getByChild.spec.js +7 -4
- package/test/reuse/ui5/element/getByParent.spec.js +6 -3
- package/test/reuse/ui5/element/getByText.spec.js +1 -1
- package/test/reuse/ui5/element/getCssPropertyValue.spec.js +2 -2
- package/test/reuse/ui5/element/getPropertyValue.spec.js +2 -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 +4 -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/navigationBar/clickBack.spec.js +4 -4
- package/test/reuse/ui5/navigationBar/clickUserIcon.spec.js +1 -1
- package/test/reuse/ui5/navigationBar/test.navigationBar.conf.js +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 +4 -2
- package/test/reuse/ui5/table/sortColumnAscending.spec.js +6 -3
- package/test/reuse/ui5/table/sortColumnDescending.spec.js +6 -3
- package/test/reuse/ui5/userInteraction/check.spec.js +6 -3
- package/test/reuse/ui5/userInteraction/clear.spec.js +6 -3
- package/test/reuse/ui5/userInteraction/clearAndFill.spec.js +12 -6
- package/test/reuse/ui5/userInteraction/clearAndFillAndRetry.spec.js +10 -5
- package/test/reuse/ui5/userInteraction/clearAndFillSmartFieldInput.spec.js +6 -4
- package/test/reuse/ui5/userInteraction/clearAndFillSmartFieldInputAndRetry.spec.js +2 -1
- package/test/reuse/ui5/userInteraction/clearAndRetry.spec.js +4 -2
- package/test/reuse/ui5/userInteraction/click.spec.js +6 -6
- package/test/reuse/ui5/userInteraction/clickAndRetry.spec.js +3 -3
- package/test/reuse/ui5/userInteraction/clickSelectArrow.spec.js +4 -2
- package/test/reuse/ui5/userInteraction/clickSelectArrowAndRetry.spec.js +6 -3
- package/test/reuse/ui5/userInteraction/clickTab.spec.js +5 -5
- package/test/reuse/ui5/userInteraction/doubleClick.spec.js +4 -4
- package/test/reuse/ui5/userInteraction/dragAndDrop.spec.js +2 -1
- package/test/reuse/ui5/userInteraction/fill.spec.js +6 -9
- package/test/reuse/ui5/userInteraction/fillAndRetry.spec.js +4 -4
- package/test/reuse/ui5/userInteraction/mouseOverElement.spec.js +4 -2
- package/test/reuse/ui5/userInteraction/openF4Help.spec.js +4 -2
- package/test/reuse/ui5/userInteraction/rightClick.spec.js +4 -4
- package/test/reuse/ui5/userInteraction/scrollToElement.spec.js +5 -4
- package/test/reuse/ui5/userInteraction/searchFor.spec.js +8 -4
- package/test/reuse/ui5/userInteraction/selectBox.spec.js +8 -4
- package/test/reuse/ui5/userInteraction/selectCombobox.spec.js +8 -4
- package/test/reuse/ui5/userInteraction/selectFromTab.spec.js +2 -2
- package/test/reuse/ui5/userInteraction/selectMultiComboBox.spec.js +10 -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 +6 -3
- package/test/reuse/util/browser/back.spec.js +1 -1
- package/test/reuse/util/browser/clearBrowser.spec.js +10 -20
- package/test/reuse/util/browser/executeScript.spec.js +15 -20
- 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/getCurrentUrl.spec.js +1 -0
- package/test/reuse/util/browser/getCurrentWindow.spec.js +2 -2
- package/test/reuse/util/browser/refresh.spec.js +14 -22
- package/test/reuse/util/browser/setBaseUrl.spec.js +2 -2
- package/test/reuse/util/browser/switchToDefaultContent.spec.js +1 -6
- 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 +5 -2
- package/test/reuse/util/formatter/test.formatter.conf.js +1 -1
- package/test/reuse/util/system/test.system.conf.js +1 -1
- package/.reuse/dep5 +0 -29
|
@@ -3,7 +3,7 @@ describe("element - highlight", function () {
|
|
|
3
3
|
let product;
|
|
4
4
|
|
|
5
5
|
it("Preparation", async function () {
|
|
6
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
6
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
7
7
|
|
|
8
8
|
});
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// describe("element - isPresent - list item element", function () {
|
|
3
3
|
// it("Preparation", async function () {
|
|
4
|
-
// await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/
|
|
4
|
+
// await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
5
5
|
// });
|
|
6
6
|
|
|
7
7
|
// it("Execution & Verification", async function () {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
describe("element - isPresent - hidden element", function () {
|
|
16
16
|
it("Preparation", async function () {
|
|
17
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/
|
|
17
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
18
18
|
});
|
|
19
19
|
|
|
20
20
|
it("Execution & Verification", async function () {
|
|
@@ -29,7 +29,7 @@ describe("element - isPresent - hidden element", function () {
|
|
|
29
29
|
|
|
30
30
|
// describe("element - isPresent - wrong element", function () {
|
|
31
31
|
// it("Preparation", async function () {
|
|
32
|
-
// await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/
|
|
32
|
+
// await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
33
33
|
// });
|
|
34
34
|
|
|
35
35
|
// it("Execution & Verification", async function () {
|
|
@@ -52,7 +52,7 @@ describe("element - isPresentByCss with wrong selector/hidden element and catch
|
|
|
52
52
|
|
|
53
53
|
describe("element - isPresent (by class) for list item element", function () {
|
|
54
54
|
it("Preparation", async function () {
|
|
55
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/
|
|
55
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
56
56
|
});
|
|
57
57
|
|
|
58
58
|
it("Execution & Verification", async function () {
|
|
@@ -63,7 +63,7 @@ describe("element - isPresent (by class) for list item element", function () {
|
|
|
63
63
|
|
|
64
64
|
describe("element - isPresent (by class) for hidden element", function () {
|
|
65
65
|
it("Preparation", async function () {
|
|
66
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/
|
|
66
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
67
67
|
});
|
|
68
68
|
|
|
69
69
|
it("Execution & Verification", async function () {
|
|
@@ -7,7 +7,7 @@ describe("element - isPresentByXPath", function () {
|
|
|
7
7
|
let linkBtn;
|
|
8
8
|
|
|
9
9
|
it("Preparation", async function () {
|
|
10
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/
|
|
10
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/");
|
|
11
11
|
await handleCookiesConsent();
|
|
12
12
|
});
|
|
13
13
|
|
|
@@ -20,7 +20,7 @@ describe("element - isPresentByXPath", function () {
|
|
|
20
20
|
|
|
21
21
|
describe("element - isPresentByXPath with wrong selector and catch error", function () {
|
|
22
22
|
it("Preparation", async function () {
|
|
23
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/
|
|
23
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/");
|
|
24
24
|
await handleCookiesConsent();
|
|
25
25
|
});
|
|
26
26
|
|
|
@@ -7,7 +7,7 @@ const {
|
|
|
7
7
|
describe("element - getById + expectToBeVisible", function () {
|
|
8
8
|
|
|
9
9
|
it("Preparation", async function () {
|
|
10
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/
|
|
10
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
11
11
|
await handleCookiesConsent();
|
|
12
12
|
});
|
|
13
13
|
|
|
@@ -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/
|
|
9
|
+
baseUrl: "https://sapui5.hana.ondemand.com/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, "waitToBePresent.spec.js"),
|
|
@@ -8,7 +8,7 @@ exports.config = merge(profile.config, {
|
|
|
8
8
|
|
|
9
9
|
maxInstances: 5,
|
|
10
10
|
bail: 1,
|
|
11
|
-
baseUrl: "https://sapui5.hana.ondemand.com/
|
|
11
|
+
baseUrl: "https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3",
|
|
12
12
|
|
|
13
13
|
specs: [
|
|
14
14
|
path.resolve(__dirname, "waitToBePresent.spec.js"),
|
|
@@ -4,8 +4,9 @@ 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
|
|
7
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Select/sample/sap.m.sample.Select");
|
|
8
8
|
await handleCookiesConsent();
|
|
9
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
9
10
|
});
|
|
10
11
|
|
|
11
12
|
it("Execution", async function () {
|
|
@@ -2,8 +2,9 @@ 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
|
|
5
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.viz.ui5.controls.VizFrame/sample/sap.viz.sample.Donut");
|
|
6
6
|
await handleCookiesConsent();
|
|
7
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
7
8
|
});
|
|
8
9
|
|
|
9
10
|
it("Execution", async function () {
|
|
@@ -2,8 +2,9 @@ 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
|
|
5
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.TextArea/sample/sap.m.sample.TextArea");
|
|
6
6
|
await handleCookiesConsent();
|
|
7
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
7
8
|
});
|
|
8
9
|
|
|
9
10
|
it("Execution", async function () {
|
|
@@ -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
|
|
8
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/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
|
|
28
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/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/
|
|
48
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
49
49
|
await handleCookiesConsent();
|
|
50
50
|
});
|
|
51
51
|
|
|
@@ -14,7 +14,7 @@ const timeout = 30000;
|
|
|
14
14
|
|
|
15
15
|
describe("assertion - expectCssPropertyValueToBe", function () {
|
|
16
16
|
it("Preparation", async function () {
|
|
17
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/
|
|
17
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
18
18
|
await handleCookiesConsent();
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -26,7 +26,7 @@ describe("assertion - expectCssPropertyValueToBe", function () {
|
|
|
26
26
|
|
|
27
27
|
describe("assertion - expectCssPropertyValueToBe - error", function () {
|
|
28
28
|
it("Preparation", async function () {
|
|
29
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/
|
|
29
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
30
30
|
await handleCookiesConsent();
|
|
31
31
|
});
|
|
32
32
|
|
|
@@ -5,8 +5,9 @@ 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
|
|
8
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.MessageToast/sample/sap.m.sample.MessageToast");
|
|
9
9
|
await handleCookiesConsent();
|
|
10
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
10
11
|
});
|
|
11
12
|
|
|
12
13
|
it("Execution & Verification", async function () {
|
|
@@ -19,8 +20,9 @@ describe("assertion - expectMessageToastTextToBe - no message toast (unhappy cas
|
|
|
19
20
|
|
|
20
21
|
describe("assertion - expectMessageToastTextToBe", function () {
|
|
21
22
|
it("Preparation", async function () {
|
|
22
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
23
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.MessageToast/sample/sap.m.sample.MessageToast");
|
|
23
24
|
await handleCookiesConsent();
|
|
25
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
24
26
|
});
|
|
25
27
|
|
|
26
28
|
it("Execution", async function () {
|
|
@@ -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/
|
|
52
|
+
await browser.url("https://sapui5.hana.ondemand.com/");
|
|
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/
|
|
31
|
+
await browser.url("https://sapui5.hana.ondemand.com/");
|
|
32
32
|
await handleCookiesConsent();
|
|
33
33
|
});
|
|
34
34
|
|
|
@@ -23,8 +23,9 @@ 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
|
|
26
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputChecked");
|
|
27
27
|
await handleCookiesConsent();
|
|
28
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
28
29
|
});
|
|
29
30
|
|
|
30
31
|
it("Execution", async function () {});
|
|
@@ -38,8 +39,9 @@ describe("Expect input field 'valueState' not to be 'Error' (unhappy case)", fun
|
|
|
38
39
|
|
|
39
40
|
describe("Expect input field 'valueState' to be 'Error'", function () {
|
|
40
41
|
it("Preparation", async function () {
|
|
41
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
42
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputChecked");
|
|
42
43
|
await handleCookiesConsent();
|
|
44
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
43
45
|
});
|
|
44
46
|
|
|
45
47
|
it("Execution", async function () {
|
|
@@ -23,8 +23,9 @@ 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
|
|
26
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputChecked");
|
|
27
27
|
await handleCookiesConsent();
|
|
28
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
28
29
|
});
|
|
29
30
|
|
|
30
31
|
it("Execution", async function () {});
|
|
@@ -37,8 +38,9 @@ describe("Expect input field 'valueState' to be 'None' (success)", function () {
|
|
|
37
38
|
|
|
38
39
|
describe("Expect input field 'valueState' not to be 'None' (unhappy case)", function () {
|
|
39
40
|
it("Preparation", async function () {
|
|
40
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
41
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputChecked");
|
|
41
42
|
await handleCookiesConsent();
|
|
43
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
42
44
|
});
|
|
43
45
|
|
|
44
46
|
it("Execution", async function () {
|
|
@@ -6,8 +6,9 @@ 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
|
|
9
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription");
|
|
10
10
|
await handleCookiesConsent();
|
|
11
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
11
12
|
});
|
|
12
13
|
|
|
13
14
|
it("Execution & Verification", async function () {
|
|
@@ -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/
|
|
9
|
+
baseUrl: "https://sapui5.hana.ondemand.com/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/
|
|
12
|
+
baseUrl: "https://sapui5.hana.ondemand.com/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,8 +11,9 @@ 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
|
|
14
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputChecked");
|
|
15
15
|
await handleCookiesConsent();
|
|
16
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
16
17
|
|
|
17
18
|
const submitButtonSelector = {
|
|
18
19
|
"elementProperties": {
|
|
@@ -62,8 +63,9 @@ describe("confirmationDialog - clickButton - text 'OK' without confirmation dial
|
|
|
62
63
|
|
|
63
64
|
describe("confirmationDialog - clickButton - text 'Cancel'", function () {
|
|
64
65
|
it("Preparation", async function () {
|
|
65
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
66
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.MessageBox/sample/sap.m.sample.MessageBox");
|
|
66
67
|
await handleCookiesConsent();
|
|
68
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
67
69
|
|
|
68
70
|
const confirmButtonSelector = {
|
|
69
71
|
"elementProperties": {
|
|
@@ -17,8 +17,9 @@ 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
|
|
20
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.MessageBox/sample/sap.m.sample.MessageBoxInitialFocus");
|
|
21
21
|
await handleCookiesConsent();
|
|
22
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
22
23
|
|
|
23
24
|
const openDialogButton = {
|
|
24
25
|
"elementProperties": {
|
|
@@ -52,7 +53,8 @@ describe("confirmationDialog - clickNo", function () {
|
|
|
52
53
|
|
|
53
54
|
describe("confirmationDialog - clickNo without 'No' button (unhappy case)", function () {
|
|
54
55
|
it("Preparation", async function () {
|
|
55
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
56
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.MessageBox/sample/sap.m.sample.MessageBoxInitialFocus");
|
|
57
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
56
58
|
const openDialogButton = {
|
|
57
59
|
"elementProperties": {
|
|
58
60
|
"viewName": "sap.m.sample.MessageBoxInitialFocus.V",
|
|
@@ -11,8 +11,9 @@ 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
|
|
14
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputChecked");
|
|
15
15
|
await handleCookiesConsent();
|
|
16
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
16
17
|
|
|
17
18
|
const submitButtonSelector = {
|
|
18
19
|
"elementProperties": {
|
|
@@ -17,8 +17,9 @@ 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
|
|
20
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.MessageBox/sample/sap.m.sample.MessageBoxInitialFocus");
|
|
21
21
|
await handleCookiesConsent();
|
|
22
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
22
23
|
|
|
23
24
|
const openDialogButton = {
|
|
24
25
|
"elementProperties": {
|
|
@@ -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/
|
|
9
|
+
baseUrl: "https://sapui5.hana.ondemand.com/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/
|
|
12
|
+
baseUrl: "https://sapui5.hana.ondemand.com/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,8 +3,9 @@ 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
|
|
6
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.TextInEditModeSource");
|
|
7
7
|
await handleCookiesConsent();
|
|
8
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
8
9
|
});
|
|
9
10
|
|
|
10
11
|
it("Execution & Verification", async function () {
|
|
@@ -22,7 +23,7 @@ describe("control - focus - for a input field", function () {
|
|
|
22
23
|
|
|
23
24
|
describe("control - focus", function () {
|
|
24
25
|
it("Preparation", async function () {
|
|
25
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
26
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.ActionSheet");
|
|
26
27
|
await handleCookiesConsent();
|
|
27
28
|
});
|
|
28
29
|
|
|
@@ -41,8 +42,9 @@ describe("control - focus", function () {
|
|
|
41
42
|
|
|
42
43
|
describe("control - focus - outside of viewpoint", function () {
|
|
43
44
|
it("Preparation", async function () {
|
|
44
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
45
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.MultiComboBox/sample/sap.m.sample.MultiComboBox");
|
|
45
46
|
await handleCookiesConsent();
|
|
47
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
46
48
|
});
|
|
47
49
|
|
|
48
50
|
it("Execution", async function () {
|
|
@@ -79,7 +81,7 @@ describe("control - focus - outside of viewpoint", function () {
|
|
|
79
81
|
describe("control - focus - no selector found and catch error", function () {
|
|
80
82
|
|
|
81
83
|
it("Preparation", async function () {
|
|
82
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
84
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
83
85
|
});
|
|
84
86
|
|
|
85
87
|
it("Execution & Verification", async function () {
|
|
@@ -38,9 +38,10 @@ 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
|
|
41
|
+
const url = "https://sapui5.hana.ondemand.com/#/entity/sap.m.Table/sample/sap.m.sample.Table";
|
|
42
42
|
await common.navigation.navigateToUrl(url);
|
|
43
43
|
await handleCookiesConsent();
|
|
44
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
44
45
|
});
|
|
45
46
|
|
|
46
47
|
it("Execution", async () => {
|
|
@@ -63,9 +64,10 @@ describe("getAggregationProperty - items in list", async () => {
|
|
|
63
64
|
let val;
|
|
64
65
|
const expectedItems = ["ITelO Vault", "Notebook Basic 15", "Notebook Basic 17", "Notebook Basic 18", "Notebook Basic 19"];
|
|
65
66
|
it("Preparation", async () => {
|
|
66
|
-
const url = "https://sapui5.hana.ondemand.com
|
|
67
|
+
const url = "https://sapui5.hana.ondemand.com/#/entity/sap.m.Select/sample/sap.m.sample.Select";
|
|
67
68
|
await common.navigation.navigateToUrl(url);
|
|
68
69
|
await handleCookiesConsent();
|
|
70
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
69
71
|
});
|
|
70
72
|
|
|
71
73
|
it("Execution", async () => {
|
|
@@ -4,9 +4,10 @@ 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
|
|
7
|
+
const url = "https://sapui5.hana.ondemand.com/#/entity/sap.m.Button/sample/sap.m.sample.Button";
|
|
8
8
|
await common.navigation.navigateToUrl(url);
|
|
9
9
|
await handleCookiesConsent();
|
|
10
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
10
11
|
});
|
|
11
12
|
|
|
12
13
|
it("Execution", async () => {
|
|
@@ -25,16 +26,17 @@ describe("getAssociationProperty - 'ariaDescribedBy' of Button", function () {
|
|
|
25
26
|
});
|
|
26
27
|
|
|
27
28
|
it("Verification", async () => {
|
|
28
|
-
common.assertion.expectEqual(val, ["
|
|
29
|
+
common.assertion.expectEqual(val, ["__xmlview0--defaultButtonDescription", "__xmlview0--genericButtonDescription"]);
|
|
29
30
|
});
|
|
30
31
|
|
|
31
32
|
});
|
|
32
33
|
describe("getAssociationProperty - 'selectedItems' of MultiComboBox", function () {
|
|
33
34
|
let selector, selectedItems;
|
|
34
35
|
it("Preparation", async () => {
|
|
35
|
-
const url = "https://sapui5.hana.ondemand.com
|
|
36
|
+
const url = "https://sapui5.hana.ondemand.com/#/entity/sap.m.MultiComboBox/sample/sap.m.sample.MultiComboBox";
|
|
36
37
|
await common.navigation.navigateToUrl(url);
|
|
37
38
|
await handleCookiesConsent();
|
|
39
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
38
40
|
selector = {
|
|
39
41
|
"elementProperties": { "metadata": "sap.m.MultiComboBox" },
|
|
40
42
|
"parentProperties": { "metadata": "sap.ui.layout.VerticalLayout" }
|
|
@@ -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/
|
|
9
|
+
baseUrl: "https://sapui5.hana.ondemand.com/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/
|
|
13
|
+
baseUrl: "https://sapui5.hana.ondemand.com/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,8 +16,9 @@ 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
|
|
19
|
+
await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.m.DateRangeSelection/sample/sap.m.sample.DateRangeSelectionValueState");
|
|
20
20
|
await handleCookiesConsent();
|
|
21
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
21
22
|
});
|
|
22
23
|
|
|
23
24
|
it("Execution", async function () {
|
|
@@ -43,7 +44,7 @@ describe("date - fillRange", function () {
|
|
|
43
44
|
|
|
44
45
|
describe("date - fillRange: no such field on a screen (unhappy case)", function () {
|
|
45
46
|
it("Preparation", async function () {
|
|
46
|
-
await browser.url("https://sapui5.hana.ondemand.com/
|
|
47
|
+
await browser.url("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
47
48
|
});
|
|
48
49
|
|
|
49
50
|
it("Execution & Verification", async function () {
|
|
@@ -17,8 +17,9 @@ 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
|
|
20
|
+
await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker");
|
|
21
21
|
await handleCookiesConsent();
|
|
22
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
22
23
|
});
|
|
23
24
|
|
|
24
25
|
it("Execution 1", async function () {
|
|
@@ -55,8 +56,9 @@ describe("date - pick - when datePicker already has date assigned and we change
|
|
|
55
56
|
};
|
|
56
57
|
|
|
57
58
|
it("Preparation", async function () {
|
|
58
|
-
await browser.url("https://sapui5.hana.ondemand.com
|
|
59
|
+
await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker");
|
|
59
60
|
await handleCookiesConsent();
|
|
61
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
60
62
|
});
|
|
61
63
|
|
|
62
64
|
it("Execution", async function () {
|
|
@@ -93,8 +95,9 @@ describe("date - pick - using selector for sap.ui.core.Icon", function () {
|
|
|
93
95
|
};
|
|
94
96
|
|
|
95
97
|
it("Preparation", async function () {
|
|
96
|
-
await browser.url("https://sapui5.hana.ondemand.com
|
|
98
|
+
await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker");
|
|
97
99
|
await handleCookiesConsent();
|
|
100
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
98
101
|
});
|
|
99
102
|
|
|
100
103
|
it("Execution", async function () {
|
|
@@ -126,7 +129,7 @@ describe("date - pick without datePiker (unhappy case)", function () {
|
|
|
126
129
|
};
|
|
127
130
|
|
|
128
131
|
it("Preparation", async function () {
|
|
129
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
132
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
130
133
|
});
|
|
131
134
|
|
|
132
135
|
it("Execution & Verification", async function () {
|