@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
|
@@ -13,8 +13,9 @@ describe("userInteraction - clearAndRetry", function () {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
it("Preparation", async function () {
|
|
16
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
16
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription");
|
|
17
17
|
await handleCookiesConsent();
|
|
18
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
18
19
|
});
|
|
19
20
|
|
|
20
21
|
it("Execution", async function () {
|
|
@@ -35,8 +36,9 @@ describe("userInteraction - clearAndRetry", function () {
|
|
|
35
36
|
describe("userInteraction - clearAndRetry with invalid selector", function () {
|
|
36
37
|
|
|
37
38
|
it("Preparation", async function () {
|
|
38
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
39
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription");
|
|
39
40
|
await handleCookiesConsent();
|
|
41
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
40
42
|
});
|
|
41
43
|
|
|
42
44
|
it("Execution & Verification", async function () {
|
|
@@ -3,7 +3,7 @@ const { handleCookiesConsent } = require("../../../helper/utils");
|
|
|
3
3
|
describe("userInteraction - click", function () {
|
|
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/");
|
|
7
7
|
await handleCookiesConsent();
|
|
8
8
|
});
|
|
9
9
|
|
|
@@ -19,14 +19,14 @@ describe("userInteraction - click", function () {
|
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
it("Verification", async function () {
|
|
22
|
-
await common.assertion.expectUrlToBe("https://sapui5.hana.ondemand.com
|
|
22
|
+
await common.assertion.expectUrlToBe("https://sapui5.hana.ondemand.com/#/api");
|
|
23
23
|
});
|
|
24
24
|
});
|
|
25
25
|
|
|
26
26
|
describe("userInteraction - click on not displayed element", function () {
|
|
27
27
|
|
|
28
28
|
it("Preparation", async function () {
|
|
29
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
29
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/");
|
|
30
30
|
await handleCookiesConsent();
|
|
31
31
|
});
|
|
32
32
|
|
|
@@ -48,7 +48,7 @@ describe("userInteraction - click on not displayed element", function () {
|
|
|
48
48
|
describe("userInteraction - click on invisible element", function () {
|
|
49
49
|
|
|
50
50
|
it("Preparation", async function () {
|
|
51
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/
|
|
51
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/category/AC/product/HT-2000");
|
|
52
52
|
await handleCookiesConsent();
|
|
53
53
|
});
|
|
54
54
|
|
|
@@ -75,7 +75,7 @@ describe("userInteraction - click on invisible element", function () {
|
|
|
75
75
|
describe("userInteraction - click with selector having wildcard character(*) for metadata", function () {
|
|
76
76
|
|
|
77
77
|
it("Preparation", async function () {
|
|
78
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
78
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/");
|
|
79
79
|
await handleCookiesConsent();
|
|
80
80
|
});
|
|
81
81
|
|
|
@@ -91,6 +91,6 @@ describe("userInteraction - click with selector having wildcard character(*) for
|
|
|
91
91
|
});
|
|
92
92
|
|
|
93
93
|
it("Verification", async function () {
|
|
94
|
-
await common.assertion.expectUrlToBe("https://sapui5.hana.ondemand.com
|
|
94
|
+
await common.assertion.expectUrlToBe("https://sapui5.hana.ondemand.com/#/api");
|
|
95
95
|
});
|
|
96
96
|
});
|
|
@@ -2,7 +2,7 @@ const { handleCookiesConsent } = require("../../../helper/utils");
|
|
|
2
2
|
|
|
3
3
|
describe("userInteraction - click and retry", function () {
|
|
4
4
|
it("Preparation", async function () {
|
|
5
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
5
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/");
|
|
6
6
|
await handleCookiesConsent();
|
|
7
7
|
});
|
|
8
8
|
|
|
@@ -22,13 +22,13 @@ describe("userInteraction - click and retry", function () {
|
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
it("Verification", async function () {
|
|
25
|
-
await common.assertion.expectUrlToBe("https://sapui5.hana.ondemand.com
|
|
25
|
+
await common.assertion.expectUrlToBe("https://sapui5.hana.ondemand.com/#/api");
|
|
26
26
|
});
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
describe("userInteraction - click and retry on not displayed element", function () {
|
|
30
30
|
it("Preparation", async function () {
|
|
31
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
31
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/");
|
|
32
32
|
await handleCookiesConsent();
|
|
33
33
|
});
|
|
34
34
|
|
|
@@ -3,8 +3,9 @@ const { handleCookiesConsent } = require("../../../helper/utils");
|
|
|
3
3
|
describe("userInteraction - clickSelectArrow", function () {
|
|
4
4
|
|
|
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.m.Select/sample/sap.m.sample.Select");
|
|
7
7
|
await handleCookiesConsent();
|
|
8
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
8
9
|
});
|
|
9
10
|
|
|
10
11
|
it("Execution & Verification", async function () {
|
|
@@ -60,9 +61,10 @@ describe("userInteraction - clickSelectArrow", function () {
|
|
|
60
61
|
describe("userInteraction - clickSelectArrow and catch an error", function () {
|
|
61
62
|
|
|
62
63
|
it("Preparation", async function () {
|
|
63
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
64
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Select/sample/sap.m.sample.Select");
|
|
64
65
|
await util.browser.refresh();
|
|
65
66
|
await handleCookiesConsent();
|
|
67
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
66
68
|
});
|
|
67
69
|
|
|
68
70
|
it("Execution & Verification", async function () {
|
|
@@ -2,8 +2,9 @@ const { handleCookiesConsent } = require("../../../helper/utils");
|
|
|
2
2
|
|
|
3
3
|
describe("userInteraction - clickSelectArrowAndRetry", 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.Select/sample/sap.m.sample.Select");
|
|
6
6
|
await handleCookiesConsent();
|
|
7
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
7
8
|
});
|
|
8
9
|
|
|
9
10
|
it("Execution & Verification", async function () {
|
|
@@ -62,8 +63,9 @@ describe("userInteraction - clickSelectArrowAndRetry", function () {
|
|
|
62
63
|
|
|
63
64
|
describe("userInteraction - clickSelectArrow and catch an error", function () {
|
|
64
65
|
it("Preparation", async function () {
|
|
65
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
66
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Select/sample/sap.m.sample.Select");
|
|
66
67
|
await handleCookiesConsent();
|
|
68
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
67
69
|
});
|
|
68
70
|
|
|
69
71
|
it("Execution & Verification", async function () {
|
|
@@ -85,9 +87,10 @@ describe("userInteraction - clickSelectArrow and catch an error", function () {
|
|
|
85
87
|
|
|
86
88
|
describe("userInteraction - clickSelectArrowAndRetry with index > 0", function () {
|
|
87
89
|
it("Preparation", async function () {
|
|
88
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
90
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Select/sample/sap.m.sample.SelectValueState");
|
|
89
91
|
await util.browser.refresh();
|
|
90
92
|
await handleCookiesConsent();
|
|
93
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
91
94
|
});
|
|
92
95
|
|
|
93
96
|
it("Execution & Verification", async function () {
|
|
@@ -2,7 +2,7 @@ const { handleCookiesConsent } = require("../../../helper/utils");
|
|
|
2
2
|
|
|
3
3
|
describe("userInteraction - clickTab - simple tab", function () {
|
|
4
4
|
it("Preparation", async function () {
|
|
5
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
5
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/api/sap.m.IconTabBar");
|
|
6
6
|
await handleCookiesConsent();
|
|
7
7
|
});
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ describe("userInteraction - clickTab - simple tab", function () {
|
|
|
10
10
|
const selector = {
|
|
11
11
|
elementProperties: {
|
|
12
12
|
viewName: "sap.ui.documentation.sdk.view.SubApiDetail",
|
|
13
|
-
metadata: "sap.m.
|
|
13
|
+
metadata: "sap.m.IconTabFilter",
|
|
14
14
|
text: "Properties"
|
|
15
15
|
}
|
|
16
16
|
};
|
|
@@ -33,7 +33,7 @@ describe("userInteraction - clickTab - simple tab", function () {
|
|
|
33
33
|
|
|
34
34
|
describe("userInteraction - clickTab - multiple select values", function () {
|
|
35
35
|
it("Preparation", async function () {
|
|
36
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
36
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/api/sap.m.IconTabBar");
|
|
37
37
|
await util.browser.refresh();
|
|
38
38
|
await handleCookiesConsent();
|
|
39
39
|
});
|
|
@@ -42,7 +42,7 @@ describe("userInteraction - clickTab - multiple select values", function () {
|
|
|
42
42
|
const selector = {
|
|
43
43
|
elementProperties: {
|
|
44
44
|
viewName: "sap.ui.documentation.sdk.view.SubApiDetail",
|
|
45
|
-
metadata: "sap.m.
|
|
45
|
+
metadata: "sap.m.IconTabFilter",
|
|
46
46
|
text: "Events"
|
|
47
47
|
}
|
|
48
48
|
};
|
|
@@ -68,7 +68,7 @@ describe("userInteraction - clickTab - multiple select values", function () {
|
|
|
68
68
|
|
|
69
69
|
describe("userInteraction - clickTab - non tab element", function () {
|
|
70
70
|
it("Preparation", async function () {
|
|
71
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
71
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/api/sap.m.IconTabBar");
|
|
72
72
|
await util.browser.refresh();
|
|
73
73
|
await handleCookiesConsent();
|
|
74
74
|
});
|
|
@@ -3,7 +3,7 @@ const { handleCookiesConsent } = require("../../../helper/utils");
|
|
|
3
3
|
describe("userInteraction - doubleClick", function () {
|
|
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/");
|
|
7
7
|
await handleCookiesConsent();
|
|
8
8
|
});
|
|
9
9
|
|
|
@@ -19,14 +19,14 @@ describe("userInteraction - doubleClick", function () {
|
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
it("Verification", async function () {
|
|
22
|
-
await common.assertion.expectUrlToBe("https://sapui5.hana.ondemand.com
|
|
22
|
+
await common.assertion.expectUrlToBe("https://sapui5.hana.ondemand.com/#/api");
|
|
23
23
|
});
|
|
24
24
|
});
|
|
25
25
|
|
|
26
26
|
describe("userInteraction - doubleClick on not displayed element", function () {
|
|
27
27
|
|
|
28
28
|
it("Preparation", async function () {
|
|
29
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
29
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/");
|
|
30
30
|
await handleCookiesConsent();
|
|
31
31
|
});
|
|
32
32
|
|
|
@@ -48,7 +48,7 @@ describe("userInteraction - doubleClick on not displayed element", function () {
|
|
|
48
48
|
describe("userInteraction - doubleClick on invisible element", function () {
|
|
49
49
|
|
|
50
50
|
it("Preparation", async function () {
|
|
51
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/
|
|
51
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/category/AC/product/HT-2000");
|
|
52
52
|
await handleCookiesConsent();
|
|
53
53
|
});
|
|
54
54
|
|
|
@@ -19,8 +19,9 @@ describe("userInteraction - dragAndDrop", function () {
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
it("Preparation", async function () {
|
|
22
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/
|
|
22
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/sdk/#/entity/sap.f.GridList/sample/sap.f.sample.GridListDragAndDrop");
|
|
23
23
|
await handleCookiesConsent();
|
|
24
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
24
25
|
});
|
|
25
26
|
|
|
26
27
|
it("Execution", async function () {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
const { handleCookiesConsent } = require("../../../helper/utils");
|
|
2
2
|
|
|
3
3
|
describe("userInteraction - fill", function () {
|
|
4
|
-
|
|
5
4
|
let value;
|
|
6
5
|
let actualValue;
|
|
7
6
|
|
|
8
7
|
it("Preparation", async function () {
|
|
9
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
8
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
10
9
|
await handleCookiesConsent();
|
|
11
10
|
});
|
|
12
11
|
|
|
@@ -32,11 +31,10 @@ describe("userInteraction - fill", function () {
|
|
|
32
31
|
});
|
|
33
32
|
|
|
34
33
|
describe("userInteraction - fill element with invalid selector", function () {
|
|
35
|
-
|
|
36
34
|
let value;
|
|
37
35
|
|
|
38
36
|
it("Preparation", async function () {
|
|
39
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
37
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
40
38
|
await handleCookiesConsent();
|
|
41
39
|
});
|
|
42
40
|
|
|
@@ -57,12 +55,11 @@ describe("userInteraction - fill element with invalid selector", function () {
|
|
|
57
55
|
});
|
|
58
56
|
|
|
59
57
|
describe("userInteraction - fill element with number", function () {
|
|
60
|
-
|
|
61
58
|
let value;
|
|
62
59
|
let actualValue;
|
|
63
60
|
|
|
64
61
|
it("Preparation", async function () {
|
|
65
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
62
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
66
63
|
await handleCookiesConsent();
|
|
67
64
|
});
|
|
68
65
|
|
|
@@ -88,7 +85,7 @@ describe("userInteraction - fill element with number", function () {
|
|
|
88
85
|
|
|
89
86
|
describe("userInteraction - fill element with empty value", function () {
|
|
90
87
|
it("Preparation", async function () {
|
|
91
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
88
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
92
89
|
await handleCookiesConsent();
|
|
93
90
|
});
|
|
94
91
|
|
|
@@ -108,13 +105,13 @@ describe("userInteraction - fill element with empty value", function () {
|
|
|
108
105
|
});
|
|
109
106
|
|
|
110
107
|
describe("userInteraction - fill element, index > 0", function () {
|
|
111
|
-
|
|
112
108
|
let value;
|
|
113
109
|
let actualValue;
|
|
114
110
|
|
|
115
111
|
it("Preparation", async function () {
|
|
116
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
112
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputAssisted");
|
|
117
113
|
await handleCookiesConsent();
|
|
114
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
118
115
|
});
|
|
119
116
|
|
|
120
117
|
it("Execution", async function () {
|
|
@@ -5,7 +5,7 @@ describe("userInteraction - fill and retry", function () {
|
|
|
5
5
|
let actualValue;
|
|
6
6
|
|
|
7
7
|
it("Preparation", async function () {
|
|
8
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
8
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
9
9
|
await handleCookiesConsent();
|
|
10
10
|
});
|
|
11
11
|
|
|
@@ -35,7 +35,7 @@ describe("userInteraction - fillAndRetry element with invalid selector", functio
|
|
|
35
35
|
let value;
|
|
36
36
|
|
|
37
37
|
it("Preparation", async function () {
|
|
38
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
38
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
39
39
|
await handleCookiesConsent();
|
|
40
40
|
});
|
|
41
41
|
|
|
@@ -62,7 +62,7 @@ describe("userInteraction - fillAndRetry element with number", function () {
|
|
|
62
62
|
let actualValue;
|
|
63
63
|
|
|
64
64
|
it("Preparation", async function () {
|
|
65
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
65
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
66
66
|
await handleCookiesConsent();
|
|
67
67
|
});
|
|
68
68
|
|
|
@@ -92,7 +92,7 @@ describe("userInteraction - fillAndRetry element with empty value", function ()
|
|
|
92
92
|
let actualValue;
|
|
93
93
|
|
|
94
94
|
it("Preparation", async function () {
|
|
95
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
95
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
96
96
|
await handleCookiesConsent();
|
|
97
97
|
});
|
|
98
98
|
|
|
@@ -3,8 +3,9 @@ const { handleCookiesConsent } = require("../../../helper/utils");
|
|
|
3
3
|
|
|
4
4
|
describe("userInteraction - mouseOverElement", function () {
|
|
5
5
|
it("Preparation", async function () {
|
|
6
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
6
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Button/sample/sap.m.sample.Button");
|
|
7
7
|
await handleCookiesConsent();
|
|
8
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
8
9
|
});
|
|
9
10
|
|
|
10
11
|
it("Execution", async function () {
|
|
@@ -30,8 +31,9 @@ describe("userInteraction - mouseOverElement", function () {
|
|
|
30
31
|
|
|
31
32
|
describe("userInteraction - mouseOverElement - wrong selector", function () {
|
|
32
33
|
it("Preparation", async function () {
|
|
33
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
34
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Button/sample/sap.m.sample.Button");
|
|
34
35
|
await handleCookiesConsent();
|
|
36
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
35
37
|
});
|
|
36
38
|
|
|
37
39
|
it("Execution & Verification", async function () {
|
|
@@ -22,8 +22,9 @@ const timeout = 30000;
|
|
|
22
22
|
describe("userInteraction - openF4Help - use valuehelp icon button", function () {
|
|
23
23
|
|
|
24
24
|
it("Preparation", async function () {
|
|
25
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
25
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputAssisted");
|
|
26
26
|
await handleCookiesConsent();
|
|
27
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
27
28
|
});
|
|
28
29
|
|
|
29
30
|
it("Execution", async function () {
|
|
@@ -40,8 +41,9 @@ describe("userInteraction - openF4Help - use valuehelp icon button", function ()
|
|
|
40
41
|
describe("userInteraction - openF4Help - use F4 Key press", function () {
|
|
41
42
|
|
|
42
43
|
it("Preparation", async function () {
|
|
43
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
44
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputAssisted");
|
|
44
45
|
await handleCookiesConsent();
|
|
46
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
45
47
|
});
|
|
46
48
|
|
|
47
49
|
it("Execution", async function () {
|
|
@@ -3,7 +3,7 @@ const { handleCookiesConsent } = require("../../../helper/utils");
|
|
|
3
3
|
describe("userInteraction - rightClick", function () {
|
|
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/");
|
|
7
7
|
await handleCookiesConsent();
|
|
8
8
|
});
|
|
9
9
|
|
|
@@ -19,7 +19,7 @@ describe("userInteraction - rightClick", function () {
|
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
it("Verification", async function () {
|
|
22
|
-
await common.assertion.expectUrlToBe("https://sapui5.hana.ondemand.com/
|
|
22
|
+
await common.assertion.expectUrlToBe("https://sapui5.hana.ondemand.com/");
|
|
23
23
|
await common.userInteraction.pressEscape();
|
|
24
24
|
});
|
|
25
25
|
});
|
|
@@ -27,7 +27,7 @@ describe("userInteraction - rightClick", function () {
|
|
|
27
27
|
describe("userInteraction - rightClick on not displayed element", function () {
|
|
28
28
|
|
|
29
29
|
it("Preparation", async function () {
|
|
30
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
30
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/");
|
|
31
31
|
await handleCookiesConsent();
|
|
32
32
|
});
|
|
33
33
|
|
|
@@ -50,7 +50,7 @@ describe("userInteraction - rightClick on not displayed element", function () {
|
|
|
50
50
|
describe("userInteraction - rightClick on invisible element", function () {
|
|
51
51
|
|
|
52
52
|
it("Preparation", async function () {
|
|
53
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/
|
|
53
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3?sap-ui-theme=sap_fiori_3#/category/AC/product/HT-6111");
|
|
54
54
|
await handleCookiesConsent();
|
|
55
55
|
});
|
|
56
56
|
|
|
@@ -6,7 +6,7 @@ const {
|
|
|
6
6
|
describe("element - scrollToElement - default, no args", function () {
|
|
7
7
|
|
|
8
8
|
it("Preparation", async function () {
|
|
9
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
9
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
10
10
|
});
|
|
11
11
|
|
|
12
12
|
it("Execution & Verification", async function () {
|
|
@@ -30,7 +30,7 @@ describe("element - scrollToElement - default, no args", function () {
|
|
|
30
30
|
describe("element - scrollToElement - with custom alignment options ", function () {
|
|
31
31
|
|
|
32
32
|
it("Preparation", async function () {
|
|
33
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
33
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
it("Execution & Verification", async function () {
|
|
@@ -53,8 +53,9 @@ describe("element - scrollToElement - with custom alignment options ", function
|
|
|
53
53
|
|
|
54
54
|
describe("element - scrollToElement outside of viewpoint", function () {
|
|
55
55
|
it("Preparation", async function () {
|
|
56
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
56
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.MultiComboBox/sample/sap.m.sample.MultiComboBox");
|
|
57
57
|
await handleCookiesConsent();
|
|
58
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
58
59
|
});
|
|
59
60
|
|
|
60
61
|
it("Execution", async function () {
|
|
@@ -91,7 +92,7 @@ describe("element - scrollToElement outside of viewpoint", function () {
|
|
|
91
92
|
describe("element - scrollToElement and catch error", function () {
|
|
92
93
|
|
|
93
94
|
it("Preparation", async function () {
|
|
94
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/
|
|
95
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
95
96
|
});
|
|
96
97
|
|
|
97
98
|
it("Execution & Verification", async function () {
|
|
@@ -5,8 +5,9 @@ const {
|
|
|
5
5
|
describe("userInteraction - searchFor - use button", function () {
|
|
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/#/entity/sap.m.SearchField/sample/sap.m.sample.SearchField");
|
|
9
9
|
await handleCookiesConsent();
|
|
10
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
10
11
|
});
|
|
11
12
|
|
|
12
13
|
it("Execution", async function () {
|
|
@@ -47,8 +48,9 @@ describe("userInteraction - searchFor - use button", function () {
|
|
|
47
48
|
describe("userInteraction - searchFor - use Enter", function () {
|
|
48
49
|
|
|
49
50
|
it("Preparation", async function () {
|
|
50
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
51
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.SearchField/sample/sap.m.sample.SearchField");
|
|
51
52
|
await handleCookiesConsent();
|
|
53
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
52
54
|
});
|
|
53
55
|
|
|
54
56
|
it("Execution", async function () {
|
|
@@ -89,8 +91,9 @@ describe("userInteraction - searchFor - use Enter", function () {
|
|
|
89
91
|
describe("userInteraction - searchFor - use Enter and wrong selector", function () {
|
|
90
92
|
|
|
91
93
|
it("Preparation", async function () {
|
|
92
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
94
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.SearchField/sample/sap.m.sample.SearchField");
|
|
93
95
|
await handleCookiesConsent();
|
|
96
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
94
97
|
});
|
|
95
98
|
|
|
96
99
|
it("Execution & Verification", async function () {
|
|
@@ -116,8 +119,9 @@ describe("userInteraction - searchFor - use Enter and wrong selector", function
|
|
|
116
119
|
describe("userInteraction - resetSearch", function () {
|
|
117
120
|
|
|
118
121
|
it("Preparation", async function () {
|
|
119
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
122
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.SearchField/sample/sap.m.sample.SearchField");
|
|
120
123
|
await handleCookiesConsent();
|
|
124
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
121
125
|
});
|
|
122
126
|
|
|
123
127
|
it("Execution", async function () {
|
|
@@ -10,8 +10,9 @@ describe("userInteraction - selectBox", function () {
|
|
|
10
10
|
let index;
|
|
11
11
|
|
|
12
12
|
it("Preparation", async function () {
|
|
13
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
13
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Select/sample/sap.m.sample.Select");
|
|
14
14
|
await handleCookiesConsent();
|
|
15
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
15
16
|
});
|
|
16
17
|
|
|
17
18
|
it("Execution", async function () {
|
|
@@ -43,8 +44,9 @@ describe("userInteraction - selectComboBox use wrong selector", function () {
|
|
|
43
44
|
let index;
|
|
44
45
|
|
|
45
46
|
it("Preparation", async function () {
|
|
46
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
47
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Select/sample/sap.m.sample.Select");
|
|
47
48
|
await handleCookiesConsent();
|
|
49
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
48
50
|
});
|
|
49
51
|
|
|
50
52
|
it("Execution & Verification", async function () {
|
|
@@ -71,8 +73,9 @@ describe("userInteraction - selectComboBox use wrong value", function () {
|
|
|
71
73
|
let index;
|
|
72
74
|
|
|
73
75
|
it("Preparation", async function () {
|
|
74
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
76
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Select/sample/sap.m.sample.Select");
|
|
75
77
|
await handleCookiesConsent();
|
|
78
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
76
79
|
});
|
|
77
80
|
|
|
78
81
|
it("Execution & Verification", async function () {
|
|
@@ -100,9 +103,10 @@ describe("userInteraction - use 3rd selectBox on page", function () {
|
|
|
100
103
|
let index;
|
|
101
104
|
|
|
102
105
|
it("Preparation", async function () {
|
|
103
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
106
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Select/sample/sap.m.sample.SelectValueState");
|
|
104
107
|
await handleCookiesConsent();
|
|
105
108
|
await util.browser.refresh();
|
|
109
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
106
110
|
});
|
|
107
111
|
|
|
108
112
|
it("Execution", async function () {
|
|
@@ -9,8 +9,9 @@ describe("userInteraction - selectComboBox", function () {
|
|
|
9
9
|
let expectedValue;
|
|
10
10
|
|
|
11
11
|
it("Preparation", async function () {
|
|
12
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
12
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.ComboBox/sample/sap.m.sample.ComboBox");
|
|
13
13
|
await handleCookiesConsent();
|
|
14
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
14
15
|
});
|
|
15
16
|
|
|
16
17
|
it("Execution", async function () {
|
|
@@ -36,8 +37,9 @@ describe("userInteraction - selectComboBox use wrong selector", function () {
|
|
|
36
37
|
let value;
|
|
37
38
|
|
|
38
39
|
it("Preparation", async function () {
|
|
39
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
40
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.ComboBox/sample/sap.m.sample.ComboBox");
|
|
40
41
|
await handleCookiesConsent();
|
|
42
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
41
43
|
});
|
|
42
44
|
|
|
43
45
|
it("Execution & Verification", async function () {
|
|
@@ -59,8 +61,9 @@ describe("userInteraction - selectComboBox use wrong value", function () {
|
|
|
59
61
|
let selector;
|
|
60
62
|
|
|
61
63
|
it("Preparation", async function () {
|
|
62
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
64
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.ComboBox/sample/sap.m.sample.ComboBox");
|
|
63
65
|
await handleCookiesConsent();
|
|
66
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
64
67
|
});
|
|
65
68
|
|
|
66
69
|
it("Execution & Verification", async function () {
|
|
@@ -85,9 +88,10 @@ describe("userInteraction - selectComboBox with index > 0", function () {
|
|
|
85
88
|
const secondIndex = 3;
|
|
86
89
|
|
|
87
90
|
it("Preparation", async function () {
|
|
88
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
91
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.ComboBox/sample/sap.m.sample.ComboBoxValueState");
|
|
89
92
|
await util.browser.refresh();
|
|
90
93
|
await handleCookiesConsent();
|
|
94
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
91
95
|
});
|
|
92
96
|
|
|
93
97
|
it("Execution", async function () {
|
|
@@ -2,7 +2,7 @@ const { handleCookiesConsent } = require("../../../helper/utils");
|
|
|
2
2
|
|
|
3
3
|
describe("userInteraction - selectFromTab", function () {
|
|
4
4
|
it("Preparation", async function () {
|
|
5
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
5
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/api/sap.m.IconTabBar");
|
|
6
6
|
await handleCookiesConsent();
|
|
7
7
|
});
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ describe("userInteraction - selectFromTab", function () {
|
|
|
10
10
|
const selector = {
|
|
11
11
|
elementProperties: {
|
|
12
12
|
viewName: "sap.ui.documentation.sdk.view.SubApiDetail",
|
|
13
|
-
metadata: "sap.m.
|
|
13
|
+
metadata: "sap.m.IconTabFilter",
|
|
14
14
|
text: "Events"
|
|
15
15
|
}
|
|
16
16
|
};
|