@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
|
@@ -24,8 +24,10 @@ describe("date - pickRange - when DateRangeSelection do not have any value", fun
|
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
it("Preparation", async function () {
|
|
27
|
-
|
|
27
|
+
// using UI5 version 1.132.1, since latest (1.134.0) version date range picker doesn't work
|
|
28
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.132.1/#/entity/sap.m.DateRangeSelection/sample/sap.m.sample.DateRangeSelectionValueState");
|
|
28
29
|
await handleCookiesConsent();
|
|
30
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
29
31
|
});
|
|
30
32
|
|
|
31
33
|
it("Execution", async function () {
|
|
@@ -60,8 +62,9 @@ describe("date - pickRange - with index as 2", function () {
|
|
|
60
62
|
};
|
|
61
63
|
|
|
62
64
|
it("Preparation", async function () {
|
|
63
|
-
await browser.url("https://sapui5.hana.ondemand.com/1.
|
|
65
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.132.1/#/entity/sap.m.DateRangeSelection/sample/sap.m.sample.DateRangeSelectionValueState");
|
|
64
66
|
await handleCookiesConsent();
|
|
67
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
65
68
|
});
|
|
66
69
|
|
|
67
70
|
it("Execution", async function () {
|
|
@@ -105,8 +108,9 @@ describe("date - pickRange - with icon as selector", function () {
|
|
|
105
108
|
};
|
|
106
109
|
|
|
107
110
|
it("Preparation", async function () {
|
|
108
|
-
await browser.url("https://sapui5.hana.ondemand.com/1.
|
|
111
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.132.1/#/entity/sap.m.DateRangeSelection/sample/sap.m.sample.DateRangeSelectionValueState");
|
|
109
112
|
await handleCookiesConsent();
|
|
113
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
110
114
|
});
|
|
111
115
|
|
|
112
116
|
it("Execution", async function () {
|
|
@@ -133,7 +137,7 @@ describe("date - pickRange without datePiker (unhappy case)", function () {
|
|
|
133
137
|
};
|
|
134
138
|
|
|
135
139
|
it("Preparation", async function () {
|
|
136
|
-
await browser.url("https://sapui5.hana.ondemand.com/
|
|
140
|
+
await browser.url("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
137
141
|
});
|
|
138
142
|
|
|
139
143
|
it("Execution & Verification", async function () {
|
|
@@ -9,8 +9,9 @@ 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
|
|
12
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
13
13
|
await handleCookiesConsent();
|
|
14
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
14
15
|
});
|
|
15
16
|
|
|
16
17
|
it("Execution", async function () {
|
|
@@ -48,8 +49,9 @@ describe("element - getByChild - with ignored nested selectors", function () {
|
|
|
48
49
|
let elem;
|
|
49
50
|
|
|
50
51
|
it("Preparation", async function () {
|
|
51
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
52
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
52
53
|
await handleCookiesConsent();
|
|
54
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
53
55
|
});
|
|
54
56
|
|
|
55
57
|
it("Execution", async function () {
|
|
@@ -86,7 +88,7 @@ describe("element - getByChild - with ignored nested selectors", function () {
|
|
|
86
88
|
});
|
|
87
89
|
|
|
88
90
|
it("Verification", async function () {
|
|
89
|
-
await nonUi5.assertion.expectAttributeToContain(elem, "
|
|
91
|
+
await nonUi5.assertion.expectAttributeToContain(elem, "clone", "id");
|
|
90
92
|
});
|
|
91
93
|
|
|
92
94
|
});
|
|
@@ -96,8 +98,9 @@ describe("element - getByChild - with inner nested selectors and index", functio
|
|
|
96
98
|
let elem;
|
|
97
99
|
|
|
98
100
|
it("Preparation", async function () {
|
|
99
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
101
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
100
102
|
await handleCookiesConsent();
|
|
103
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
101
104
|
});
|
|
102
105
|
|
|
103
106
|
it("Execution", async function () {
|
|
@@ -9,8 +9,9 @@ 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
|
|
12
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
13
13
|
await handleCookiesConsent();
|
|
14
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
14
15
|
});
|
|
15
16
|
|
|
16
17
|
it("Execution", async function () {
|
|
@@ -48,8 +49,9 @@ describe("element - getByParent - with ignored nested selectors", function () {
|
|
|
48
49
|
let elem;
|
|
49
50
|
|
|
50
51
|
it("Preparation", async function () {
|
|
51
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
52
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
52
53
|
await handleCookiesConsent();
|
|
54
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
53
55
|
});
|
|
54
56
|
|
|
55
57
|
it("Execution", async function () {
|
|
@@ -95,8 +97,9 @@ describe("element - getByParent - with inner nested selectors and index", functi
|
|
|
95
97
|
let elem;
|
|
96
98
|
|
|
97
99
|
it("Preparation", async function () {
|
|
98
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
100
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
99
101
|
await handleCookiesConsent();
|
|
102
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
100
103
|
});
|
|
101
104
|
|
|
102
105
|
it("Execution", async function () {
|
|
@@ -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/
|
|
50
|
+
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/DC");
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
it("Execution", async function () {
|
|
@@ -5,7 +5,7 @@ describe("element - getCssPropertyValue", function () {
|
|
|
5
5
|
let valueAct;
|
|
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/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
9
9
|
await handleCookiesConsent();
|
|
10
10
|
});
|
|
11
11
|
|
|
@@ -31,7 +31,7 @@ describe("element - getCssPropertyValue", function () {
|
|
|
31
31
|
|
|
32
32
|
describe("element - getCssPropertyValue - error", function () {
|
|
33
33
|
it("Preparation", async function () {
|
|
34
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/
|
|
34
|
+
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");
|
|
35
35
|
});
|
|
36
36
|
|
|
37
37
|
it("Execution & Verification", async function () {
|
|
@@ -71,7 +71,8 @@ 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
|
|
74
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.CheckBox/sample/sap.m.sample.CheckBox");
|
|
75
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
75
76
|
});
|
|
76
77
|
|
|
77
78
|
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/
|
|
8
|
+
baseUrl: "https://sapui5.hana.ondemand.com/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"),
|
|
@@ -11,7 +11,7 @@ exports.config = merge(profile.config, {
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
bail: 1,
|
|
14
|
-
baseUrl: "https://sapui5.hana.ondemand.com/
|
|
14
|
+
baseUrl: "https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3",
|
|
15
15
|
|
|
16
16
|
specs: [
|
|
17
17
|
path.resolve(__dirname, "getBindingValue.spec.js"),
|
|
@@ -12,8 +12,9 @@ describe("element - waitForAll", function () {
|
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
it("Preparation", async function () {
|
|
15
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
15
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.tnt.NavigationList/sample/sap.tnt.sample.NavigationList");
|
|
16
16
|
await handleCookiesConsent();
|
|
17
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
17
18
|
});
|
|
18
19
|
|
|
19
20
|
it("Execution", async function () {
|
|
@@ -35,8 +36,9 @@ describe("element - waitForAll - error case", function () {
|
|
|
35
36
|
}
|
|
36
37
|
};
|
|
37
38
|
it("Preparation", async function () {
|
|
38
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
39
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.tnt.NavigationList/sample/sap.tnt.sample.NavigationList");
|
|
39
40
|
await handleCookiesConsent();
|
|
41
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
40
42
|
});
|
|
41
43
|
|
|
42
44
|
it("Execution and Verification", async function () {
|
|
@@ -6,8 +6,9 @@ const {
|
|
|
6
6
|
describe("errorDialog - clickClose", 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.Dialog/sample/sap.m.sample.Dialog");
|
|
10
10
|
await handleCookiesConsent();
|
|
11
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
11
12
|
});
|
|
12
13
|
|
|
13
14
|
it("Execution", async function () {
|
|
@@ -6,8 +6,9 @@ const {
|
|
|
6
6
|
describe("errorDialog - expectToBeVisible", 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.Dialog/sample/sap.m.sample.DialogMessage");
|
|
10
10
|
await handleCookiesConsent();
|
|
11
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
11
12
|
});
|
|
12
13
|
|
|
13
14
|
it("Execution", async function () {
|
|
@@ -4,10 +4,10 @@ describe("navigationBar - clickBack", async function () {
|
|
|
4
4
|
it("Preparation", async function () {
|
|
5
5
|
await common.navigation.navigateToUrl(browser.config.baseUrl);
|
|
6
6
|
const selector = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
elementProperties: {
|
|
8
|
+
viewName: "sap.ushell.components.tiles.cdm.applauncher.StaticTile",
|
|
9
|
+
metadata: "sap.m.GenericTile",
|
|
10
|
+
bindingContextPath: "/pages/0/sections/0/visualizations/0"
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
await ui5.userInteraction.click(selector);
|
|
@@ -14,7 +14,7 @@ describe("navigationBar - clickUserIcon", async function () {
|
|
|
14
14
|
const selector = {
|
|
15
15
|
"elementProperties": {
|
|
16
16
|
"metadata": "sap.ui.core.Icon",
|
|
17
|
-
"bindingContextPath": "/
|
|
17
|
+
"bindingContextPath": "/userActions/items/4"
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
await ui5.assertion.expectToBeVisible(selector);
|
|
@@ -6,7 +6,7 @@ exports.config = merge(profile.config, {
|
|
|
6
6
|
maxInstances: 4,
|
|
7
7
|
specFileRetries: 2,
|
|
8
8
|
|
|
9
|
-
baseUrl: "https://sapui5.hana.ondemand.com/
|
|
9
|
+
baseUrl: "https://sapui5.hana.ondemand.com/test-resources/sap/suite/ui/generic/template/demokit/sample.manage.products.sepmra/test/index.html?sap-ui-theme=sap_horizon#Shell-home",
|
|
10
10
|
|
|
11
11
|
specs: [
|
|
12
12
|
path.resolve(__dirname, "clickBack.spec.js"),
|
|
@@ -11,7 +11,7 @@ exports.config = merge(profile.config, {
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
bail: 1,
|
|
14
|
-
baseUrl: "https://sapui5.hana.ondemand.com/
|
|
14
|
+
baseUrl: "https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3",
|
|
15
15
|
|
|
16
16
|
specs: [
|
|
17
17
|
path.resolve(__dirname, "clickBack.spec.js"),
|
|
@@ -38,7 +38,7 @@ describe("session - logout without inner verification", function () {
|
|
|
38
38
|
|
|
39
39
|
describe("session - logout without login (unhappy case)", function () {
|
|
40
40
|
it("Preparation", async function () {
|
|
41
|
-
await common.navigation.navigateToUrlAndRetry("https://sapui5.hana.ondemand.com/
|
|
41
|
+
await common.navigation.navigateToUrlAndRetry("https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
it("Execution & Verification", async function () {
|
|
@@ -6,8 +6,9 @@ const {
|
|
|
6
6
|
describe("table - clickSettingsButton - smartTable", function () {
|
|
7
7
|
|
|
8
8
|
it("Preparation", async function () {
|
|
9
|
-
await browser.url("https://sapui5.hana.ondemand.com
|
|
9
|
+
await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
10
10
|
await handleCookiesConsent();
|
|
11
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
11
12
|
});
|
|
12
13
|
|
|
13
14
|
it("Execution", async function () {
|
|
@@ -36,8 +37,9 @@ describe("table - clickSettingsButton - smartTable with tableSelector", function
|
|
|
36
37
|
};
|
|
37
38
|
|
|
38
39
|
it("Preparation", async function () {
|
|
39
|
-
await browser.url("https://sapui5.hana.ondemand.com
|
|
40
|
+
await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
40
41
|
await handleCookiesConsent();
|
|
42
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
41
43
|
});
|
|
42
44
|
|
|
43
45
|
it("Execution", async function () {
|
|
@@ -6,8 +6,9 @@ const {
|
|
|
6
6
|
describe("table - sortColumnAscending - smartTable", function () {
|
|
7
7
|
|
|
8
8
|
it("Preparation", async function () {
|
|
9
|
-
await browser.url("https://sapui5.hana.ondemand.com
|
|
9
|
+
await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
10
10
|
await handleCookiesConsent();
|
|
11
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
11
12
|
});
|
|
12
13
|
|
|
13
14
|
it("Execution", async function () {
|
|
@@ -36,8 +37,9 @@ describe("table - sortColumnAscending - smartTable with tableSelector", function
|
|
|
36
37
|
};
|
|
37
38
|
|
|
38
39
|
it("Preparation", async function () {
|
|
39
|
-
await browser.url("https://sapui5.hana.ondemand.com
|
|
40
|
+
await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
40
41
|
await handleCookiesConsent();
|
|
42
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
41
43
|
});
|
|
42
44
|
|
|
43
45
|
it("Execution", async function () {
|
|
@@ -61,8 +63,9 @@ describe("table - sortColumnAscending - smartTable with tableSelector", function
|
|
|
61
63
|
describe("table - sortColumnAscending - smartTable with index (legacy)", function () {
|
|
62
64
|
|
|
63
65
|
it("Preparation", async function () {
|
|
64
|
-
await browser.url("https://sapui5.hana.ondemand.com
|
|
66
|
+
await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
65
67
|
await handleCookiesConsent();
|
|
68
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
66
69
|
});
|
|
67
70
|
|
|
68
71
|
it("Execution", async function () {
|
|
@@ -6,8 +6,9 @@ const {
|
|
|
6
6
|
describe("table - sortColumnDescending - smartTable", function () {
|
|
7
7
|
|
|
8
8
|
it("Preparation", async function () {
|
|
9
|
-
await browser.url("https://sapui5.hana.ondemand.com
|
|
9
|
+
await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
10
10
|
await handleCookiesConsent();
|
|
11
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
11
12
|
});
|
|
12
13
|
|
|
13
14
|
it("Execution", async function () {
|
|
@@ -36,8 +37,9 @@ describe("table - sortColumnDescending - smartTable with tableSelector", functio
|
|
|
36
37
|
};
|
|
37
38
|
|
|
38
39
|
it("Preparation", async function () {
|
|
39
|
-
await browser.url("https://sapui5.hana.ondemand.com
|
|
40
|
+
await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
40
41
|
await handleCookiesConsent();
|
|
42
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
41
43
|
});
|
|
42
44
|
|
|
43
45
|
it("Execution", async function () {
|
|
@@ -61,8 +63,9 @@ describe("table - sortColumnDescending - smartTable with tableSelector", functio
|
|
|
61
63
|
describe("table - sortColumnDescending - smartTable with index (legacy)", function () {
|
|
62
64
|
|
|
63
65
|
it("Preparation", async function () {
|
|
64
|
-
await browser.url("https://sapui5.hana.ondemand.com
|
|
66
|
+
await browser.url("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smarttable.SmartTable/sample/sap.ui.comp.sample.smarttable.mtable");
|
|
65
67
|
await handleCookiesConsent();
|
|
68
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
66
69
|
});
|
|
67
70
|
|
|
68
71
|
it("Execution", async function () {
|
|
@@ -10,8 +10,9 @@ describe("userInteraction - check - checkbox (unchecked)", function () {
|
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
it("Preparation", async function () {
|
|
13
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
13
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.CheckBox/sample/sap.m.sample.CheckBox");
|
|
14
14
|
await handleCookiesConsent();
|
|
15
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
15
16
|
});
|
|
16
17
|
|
|
17
18
|
it("Execution", async function () {
|
|
@@ -33,8 +34,9 @@ describe("userInteraction - check - checkbox (checked)", function () {
|
|
|
33
34
|
};
|
|
34
35
|
|
|
35
36
|
it("Preparation", async function () {
|
|
36
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
37
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.CheckBox/sample/sap.m.sample.CheckBox");
|
|
37
38
|
await handleCookiesConsent();
|
|
39
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
38
40
|
});
|
|
39
41
|
|
|
40
42
|
it("Execution", async function () {
|
|
@@ -56,8 +58,9 @@ describe("userInteraction - check - checkbox (error)", function () {
|
|
|
56
58
|
};
|
|
57
59
|
|
|
58
60
|
it("Preparation", async function () {
|
|
59
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
61
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.CheckBox/sample/sap.m.sample.CheckBox");
|
|
60
62
|
await handleCookiesConsent();
|
|
63
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
61
64
|
});
|
|
62
65
|
|
|
63
66
|
it("Execution & Verification", async function () {
|
|
@@ -12,8 +12,9 @@ describe("userInteraction - clear", function () {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
it("Preparation", async function () {
|
|
15
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
15
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription");
|
|
16
16
|
await handleCookiesConsent();
|
|
17
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
17
18
|
});
|
|
18
19
|
|
|
19
20
|
it("Execution", async function () {
|
|
@@ -30,8 +31,9 @@ describe("userInteraction - clear", function () {
|
|
|
30
31
|
describe("userInteraction - clear with invalid selector", function () {
|
|
31
32
|
|
|
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.Input/sample/sap.m.sample.InputDescription");
|
|
34
35
|
await handleCookiesConsent();
|
|
36
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
35
37
|
});
|
|
36
38
|
|
|
37
39
|
it("Execution & Verification", async function () {
|
|
@@ -57,8 +59,9 @@ describe("userInteraction - clear third input field", function () {
|
|
|
57
59
|
let index = 2;
|
|
58
60
|
|
|
59
61
|
it("Preparation", async function () {
|
|
60
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
62
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription");
|
|
61
63
|
await handleCookiesConsent();
|
|
64
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
62
65
|
});
|
|
63
66
|
|
|
64
67
|
it("Execution", async function () {
|
|
@@ -12,8 +12,9 @@ describe("userInteraction - clearAndFill - Input", function () {
|
|
|
12
12
|
const value = "ABC";
|
|
13
13
|
|
|
14
14
|
it("Preparation", async function () {
|
|
15
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
15
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputValueState");
|
|
16
16
|
await handleCookiesConsent();
|
|
17
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
17
18
|
});
|
|
18
19
|
|
|
19
20
|
it("Execution", async function () {
|
|
@@ -41,8 +42,9 @@ describe("userInteraction - clearAndFill - SmartField", function () {
|
|
|
41
42
|
const value = "50";
|
|
42
43
|
|
|
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.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview");
|
|
45
46
|
await handleCookiesConsent();
|
|
47
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
46
48
|
});
|
|
47
49
|
|
|
48
50
|
it("Execution", async function () {
|
|
@@ -67,8 +69,9 @@ describe("userInteraction - clearAndFill - TextArea", function () {
|
|
|
67
69
|
const value = "Hello World!";
|
|
68
70
|
|
|
69
71
|
it("Preparation", async function () {
|
|
70
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
72
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview");
|
|
71
73
|
await handleCookiesConsent();
|
|
74
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
72
75
|
});
|
|
73
76
|
|
|
74
77
|
it("Execution", async function () {
|
|
@@ -92,8 +95,9 @@ describe("userInteraction - clearAndFill - ComboBox", function () {
|
|
|
92
95
|
const value = "Germany";
|
|
93
96
|
|
|
94
97
|
it("Preparation", async function () {
|
|
95
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
98
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.ComboBox/sample/sap.m.sample.ComboBox");
|
|
96
99
|
await handleCookiesConsent();
|
|
100
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
97
101
|
await ui5.userInteraction.selectComboBox(selector, "Greece");
|
|
98
102
|
});
|
|
99
103
|
|
|
@@ -118,8 +122,9 @@ describe("userInteraction - clearAndFill - MultiComboBox", function () {
|
|
|
118
122
|
const value = "Copymaster";
|
|
119
123
|
|
|
120
124
|
it("Preparation", async function () {
|
|
121
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
125
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.MultiComboBox/sample/sap.m.sample.MultiComboBox");
|
|
122
126
|
await handleCookiesConsent();
|
|
127
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
123
128
|
await ui5.userInteraction.selectMultiComboBox(selector, ["Comfort Senior", "Comfort Easy"]);
|
|
124
129
|
});
|
|
125
130
|
|
|
@@ -144,8 +149,9 @@ describe("userInteraction - clearAndFill - Input - error case", function () {
|
|
|
144
149
|
const value = "ABC";
|
|
145
150
|
|
|
146
151
|
it("Preparation", async function () {
|
|
147
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com
|
|
152
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputValueState");
|
|
148
153
|
await handleCookiesConsent();
|
|
154
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
149
155
|
});
|
|
150
156
|
|
|
151
157
|
it("Execution & Verification", async function () {
|
|
@@ -3,9 +3,10 @@ const { handleCookiesConsent } = require("../../../helper/utils");
|
|
|
3
3
|
describe("userInteraction - clearAndFillAndRetry - smartField", function () {
|
|
4
4
|
it("Preparation", async function () {
|
|
5
5
|
await browser.navigateTo(
|
|
6
|
-
"https://sapui5.hana.ondemand.com
|
|
6
|
+
"https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview"
|
|
7
7
|
);
|
|
8
8
|
await handleCookiesConsent();
|
|
9
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
9
10
|
});
|
|
10
11
|
|
|
11
12
|
it("Execution & Verification", async function () {
|
|
@@ -35,9 +36,10 @@ describe("userInteraction - clearAndFillAndRetry - smartField", function () {
|
|
|
35
36
|
describe("userInteraction - clearAndFillAndRetry - textarea", function () {
|
|
36
37
|
it("Preparation", async function () {
|
|
37
38
|
await browser.navigateTo(
|
|
38
|
-
"https://sapui5.hana.ondemand.com
|
|
39
|
+
"https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview"
|
|
39
40
|
);
|
|
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 - clearAndFillAndRetry - textarea", function () {
|
|
|
59
61
|
|
|
60
62
|
describe("userInteraction - clearAndFillAndRetry - input field", function () {
|
|
61
63
|
it("Preparation", async function () {
|
|
62
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
64
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription");
|
|
63
65
|
await handleCookiesConsent();
|
|
66
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
64
67
|
});
|
|
65
68
|
|
|
66
69
|
it("Execution & Verification", async function () {
|
|
@@ -83,8 +86,9 @@ describe("userInteraction - clearAndFillAndRetry - input field", function () {
|
|
|
83
86
|
|
|
84
87
|
describe("userInteraction - clearAndFillAndRetry - invalid selector", function () {
|
|
85
88
|
it("Preparation", async function () {
|
|
86
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
89
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription");
|
|
87
90
|
await handleCookiesConsent();
|
|
91
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
88
92
|
});
|
|
89
93
|
|
|
90
94
|
it("Execution & Verification", async function () {
|
|
@@ -108,8 +112,9 @@ describe("userInteraction - clearAndFillAndRetry - invalid selector", function (
|
|
|
108
112
|
|
|
109
113
|
describe("userInteraction - clearAndFillAndRetry - wrong element", function () {
|
|
110
114
|
it("Preparation", async function () {
|
|
111
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
115
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.m.MenuButton/sample/sap.m.sample.MenuButton");
|
|
112
116
|
await handleCookiesConsent();
|
|
117
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
113
118
|
});
|
|
114
119
|
|
|
115
120
|
it("Execution & Verification", async function () {
|
|
@@ -7,8 +7,9 @@ describe("userInteraction - clearAndFillSmartFieldInput", function () {
|
|
|
7
7
|
let selector;
|
|
8
8
|
|
|
9
9
|
it("Preparation", async function () {
|
|
10
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
10
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview");
|
|
11
11
|
await handleCookiesConsent();
|
|
12
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
12
13
|
});
|
|
13
14
|
|
|
14
15
|
it("Execution", async function () {
|
|
@@ -22,7 +23,7 @@ describe("userInteraction - clearAndFillSmartFieldInput", function () {
|
|
|
22
23
|
}
|
|
23
24
|
};
|
|
24
25
|
|
|
25
|
-
value = "375";
|
|
26
|
+
value = "375.000";
|
|
26
27
|
const index = 0;
|
|
27
28
|
const timeout = 30000;
|
|
28
29
|
|
|
@@ -40,7 +41,7 @@ describe("userInteraction - clearAndFillSmartFieldInput", function () {
|
|
|
40
41
|
});
|
|
41
42
|
|
|
42
43
|
it("Verification", function () {
|
|
43
|
-
common.assertion.expectEqual(
|
|
44
|
+
common.assertion.expectEqual(valueAct, value);
|
|
44
45
|
});
|
|
45
46
|
});
|
|
46
47
|
|
|
@@ -50,8 +51,9 @@ describe("userInteraction - clearAndFillSmartFieldInput with invalid selector",
|
|
|
50
51
|
let selector;
|
|
51
52
|
|
|
52
53
|
it("Preparation", async function () {
|
|
53
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
54
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview");
|
|
54
55
|
await handleCookiesConsent();
|
|
56
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
55
57
|
});
|
|
56
58
|
|
|
57
59
|
it("Execution & Verification", async function () {
|
|
@@ -4,8 +4,9 @@ const {
|
|
|
4
4
|
|
|
5
5
|
describe("userInteraction - clearAndFillSmartFieldInputAndRetry", function () {
|
|
6
6
|
it("Preparation", async function () {
|
|
7
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com
|
|
7
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview");
|
|
8
8
|
await handleCookiesConsent();
|
|
9
|
+
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
9
10
|
});
|
|
10
11
|
|
|
11
12
|
it("Execution & Verification", async function () {
|