@sap_oss/wdio-qmate-service 2.4.1 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/doc.md +127 -0
- package/lib/reuse/modules/util/file.d.ts +45 -0
- package/lib/reuse/modules/util/file.js +114 -0
- package/lib/reuse/modules/util/file.js.map +1 -1
- package/package.json +3 -1
- package/test/core/functional/chaining/test.conf.js +1 -1
- package/test/core/functional/locators/test.locator.conf.js +1 -1
- package/test/core/functional/nativeBrowser/runInBrowser.test.js +1 -1
- package/test/core/functional/nativeBrowser/test.conf.js +1 -1
- package/test/core/functional/nonUi5/test.conf.js +1 -1
- package/test/core/functional/ui5Properties/getAggregations.test.js +2 -2
- 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/helper/configurations/chrome.conf.js +3 -1
- package/test/reuse/common/assertion/test.assertion.conf.js +1 -1
- package/test/reuse/common/userInteraction/fillActive.spec.js +4 -4
- package/test/reuse/common/userInteraction/fillActiveAndRetry.spec.js +4 -4
- 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 +3 -3
- package/test/reuse/nonUi5/element/getByClass.spec.js +4 -4
- package/test/reuse/nonUi5/element/getByParent.spec.js +3 -3
- package/test/reuse/nonUi5/element/getByXPath.spec.js +2 -2
- package/test/reuse/nonUi5/element/getValue.spec.js +3 -3
- package/test/reuse/nonUi5/element/highlight.spec.js +1 -1
- package/test/reuse/nonUi5/element/isPresent.spec.js +3 -3
- package/test/reuse/nonUi5/element/isPresentByCss.spec.js +2 -2
- package/test/reuse/nonUi5/element/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/scrollToElement.spec.js +1 -1
- package/test/reuse/ui5/assertion/test.assertion.conf.js +1 -1
- package/test/reuse/ui5/assertion/test.assertion.sauceLab.conf.js +1 -1
- package/test/reuse/ui5/confirmationDialog/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 +1 -1
- 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 +1 -1
- package/test/reuse/ui5/date/pick.spec.js +1 -1
- package/test/reuse/ui5/date/pickRange.spec.js +1 -1
- package/test/reuse/ui5/element/getByText.spec.js +1 -1
- package/test/reuse/ui5/element/test.element.conf.js +1 -1
- package/test/reuse/ui5/element/test.element.sauceLab.conf.js +1 -1
- package/test/reuse/ui5/navigationBar/test.navigationBar.sauceLab.conf.js +1 -1
- package/test/reuse/ui5/session/logout.spec.js +1 -1
- package/test/reuse/ui5/userInteraction/click.spec.js +1 -1
- package/test/reuse/ui5/userInteraction/doubleClick.spec.js +1 -1
- package/test/reuse/ui5/userInteraction/fill.spec.js +4 -4
- package/test/reuse/ui5/userInteraction/fillAndRetry.spec.js +4 -4
- package/test/reuse/ui5/userInteraction/rightClick.spec.js +1 -1
- package/test/reuse/ui5/userInteraction/scrollToElement.spec.js +2 -2
- package/test/reuse/ui5/userInteraction/test.userInteraction.conf.js +2 -2
- package/test/reuse/ui5/userInteraction/test.userInteraction.sauceLab.conf.js +1 -1
- package/test/reuse/util/browser/getCurrentWindow.spec.js +2 -2
- package/test/reuse/util/browser/switchToWindow.spec.js +2 -2
- package/test/reuse/util/file/expectTextDataToContain.spec.js +14 -0
- package/test/reuse/util/file/getAttributeValuesFromJson.spec.js +37 -0
- package/test/reuse/util/file/getFileNamesByExtensions.spec.js +40 -0
- package/test/reuse/util/file/getTextData.spec.js +39 -0
- package/test/reuse/util/file/getXmlData.spec.js +52 -0
- package/test/reuse/util/file/test.file.conf.js +8 -4
- package/test/reuse/util/file/testFiles/test1.json +169 -0
- package/test/reuse/util/file/testFiles/test1.xml +120 -0
- package/test/reuse/util/file/testFiles/test2.xml +122 -0
- package/test/reuse/util/file/testFiles/test3.txt +13 -0
- /package/test/reuse/util/file/{file.spec.js → upload.spec.js} +0 -0
|
@@ -9,7 +9,7 @@ describe("element - getAttributeValue - inner HTML", function () {
|
|
|
9
9
|
let valueAct;
|
|
10
10
|
|
|
11
11
|
it("Preparation", async function () {
|
|
12
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
12
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
13
13
|
await handleCookiesConsent();
|
|
14
14
|
});
|
|
15
15
|
|
|
@@ -30,7 +30,7 @@ describe("element - getAttributeValue - with attribute", function () {
|
|
|
30
30
|
let valueAct;
|
|
31
31
|
|
|
32
32
|
it("Preparation", async function () {
|
|
33
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
33
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
34
34
|
await handleCookiesConsent();
|
|
35
35
|
});
|
|
36
36
|
|
|
@@ -48,7 +48,7 @@ describe("element - getAttributeValue - with attribute", function () {
|
|
|
48
48
|
describe("element - getAttributeValue - error", function () {
|
|
49
49
|
|
|
50
50
|
it("Preparation", async function () {
|
|
51
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
51
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
52
52
|
});
|
|
53
53
|
|
|
54
54
|
it("Execution & Verification", async function () {
|
|
@@ -7,7 +7,7 @@ describe("element - getByChild", function () {
|
|
|
7
7
|
let elemAct;
|
|
8
8
|
|
|
9
9
|
it("Preparation", async function () {
|
|
10
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
10
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
11
11
|
await handleCookiesConsent();
|
|
12
12
|
});
|
|
13
13
|
|
|
@@ -45,7 +45,7 @@ describe("element - getByChild - with index", function () {
|
|
|
45
45
|
|
|
46
46
|
describe("element - getByChild - error case with wrong element", function () {
|
|
47
47
|
it("Preparation", async function () {
|
|
48
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
48
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
49
49
|
});
|
|
50
50
|
|
|
51
51
|
it("Execution & Verification", async function () {
|
|
@@ -58,7 +58,7 @@ describe("element - getByChild - error case with wrong element", function () {
|
|
|
58
58
|
|
|
59
59
|
describe("element - getByChild - error case with wrong order of parent and child", function () {
|
|
60
60
|
it("Preparation", async function () {
|
|
61
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
61
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
62
62
|
});
|
|
63
63
|
|
|
64
64
|
it("Execution & Verification", async function () {
|
|
@@ -5,7 +5,7 @@ describe("element - getByClass + expectToBeVisible", function () {
|
|
|
5
5
|
let downloadBtn;
|
|
6
6
|
|
|
7
7
|
it("Preparation", async function () {
|
|
8
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
8
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
it("Execution", async function () {
|
|
@@ -22,7 +22,7 @@ describe("element - getByClass - multiple classes", function () {
|
|
|
22
22
|
let element;
|
|
23
23
|
|
|
24
24
|
it("Preparation", async function () {
|
|
25
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
25
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
it("Execution", async function () {
|
|
@@ -39,7 +39,7 @@ describe("element - getByClass - all classes", function () {
|
|
|
39
39
|
let element;
|
|
40
40
|
|
|
41
41
|
it("Preparation", async function () {
|
|
42
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
42
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
43
43
|
});
|
|
44
44
|
|
|
45
45
|
it("Execution", async function () {
|
|
@@ -54,7 +54,7 @@ describe("element - getByClass - all classes", function () {
|
|
|
54
54
|
describe("element - getByClass and catch error", function () {
|
|
55
55
|
|
|
56
56
|
it("Preparation", async function () {
|
|
57
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
57
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
it("Execution & Verification", async function () {
|
|
@@ -7,7 +7,7 @@ describe("element - getByParent", function () {
|
|
|
7
7
|
let finalElement;
|
|
8
8
|
|
|
9
9
|
it("Preparation", async function () {
|
|
10
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
10
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
11
11
|
await handleCookiesConsent();
|
|
12
12
|
});
|
|
13
13
|
|
|
@@ -46,7 +46,7 @@ describe("element - getByParent - with index", function () {
|
|
|
46
46
|
|
|
47
47
|
describe("element - getByParent - error case with wrong element", function () {
|
|
48
48
|
it("Preparation", async function () {
|
|
49
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
49
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
it("Execution & Verification", async function () {
|
|
@@ -59,7 +59,7 @@ describe("element - getByParent - error case with wrong element", function () {
|
|
|
59
59
|
|
|
60
60
|
describe("element - getByParent - error case with wrong order of parent and child", function () {
|
|
61
61
|
it("Preparation", async function () {
|
|
62
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
62
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
63
63
|
});
|
|
64
64
|
|
|
65
65
|
it("Execution & Verification", async function () {
|
|
@@ -5,7 +5,7 @@ describe("element - getByXPath + expectToBeVisible", function () {
|
|
|
5
5
|
let searchInput;
|
|
6
6
|
|
|
7
7
|
it("Preparation", async function () {
|
|
8
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
8
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
it("Execution", async function () {
|
|
@@ -20,7 +20,7 @@ describe("element - getByXPath + expectToBeVisible", function () {
|
|
|
20
20
|
describe("element - getByXPath and catch error", function () {
|
|
21
21
|
|
|
22
22
|
it("Preparation", async function () {
|
|
23
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
23
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
24
24
|
});
|
|
25
25
|
|
|
26
26
|
it("Execution & Verification", async function () {
|
|
@@ -7,7 +7,7 @@ describe("element - getValue", function () {
|
|
|
7
7
|
let actValue;
|
|
8
8
|
|
|
9
9
|
it("Preparation", async function () {
|
|
10
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
10
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
11
11
|
await handleCookiesConsent();
|
|
12
12
|
});
|
|
13
13
|
|
|
@@ -25,7 +25,7 @@ describe("element - getValue - innerHTML", function () {
|
|
|
25
25
|
let actValue;
|
|
26
26
|
|
|
27
27
|
it("Preparation", async function () {
|
|
28
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
28
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
29
29
|
});
|
|
30
30
|
|
|
31
31
|
it("Execution", async function () {
|
|
@@ -41,7 +41,7 @@ describe("element - getValue - innerHTML", function () {
|
|
|
41
41
|
|
|
42
42
|
describe("element - getValue - error case", function () {
|
|
43
43
|
it("Preparation", async function () {
|
|
44
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
44
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
it("Execution & Verification", async function () {
|
|
@@ -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/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html");
|
|
6
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/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/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
4
|
+
// await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/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/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
17
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/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/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
32
|
+
// await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/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/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
55
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/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/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
66
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/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 @@ 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/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html");
|
|
10
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/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/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html",
|
|
9
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/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/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html",
|
|
11
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/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"),
|
|
@@ -23,7 +23,7 @@ describe("userInteraction - scrollToElement", function () {
|
|
|
23
23
|
|
|
24
24
|
describe("locator - scrollToElement - wrong element (error case)", function () {
|
|
25
25
|
it("Preparation", async function () {
|
|
26
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
26
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
27
27
|
await handleCookiesConsent();
|
|
28
28
|
});
|
|
29
29
|
|
|
@@ -6,7 +6,7 @@ exports.config = merge(profile.config, {
|
|
|
6
6
|
maxInstances: 6,
|
|
7
7
|
specFileRetries: 2,
|
|
8
8
|
|
|
9
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html",
|
|
9
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3",
|
|
10
10
|
|
|
11
11
|
specs: [
|
|
12
12
|
path.resolve(__dirname, "expectAttributeToBe.spec.js"),
|
|
@@ -9,7 +9,7 @@ exports.config = merge(profile.config, {
|
|
|
9
9
|
maxInstances: 2, // note: for the SAP account, only 2 parallel instances is a max value
|
|
10
10
|
|
|
11
11
|
bail: 1,
|
|
12
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html",
|
|
12
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/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"),
|
|
@@ -6,7 +6,7 @@ exports.config = merge(profile.config, {
|
|
|
6
6
|
maxInstances: 6,
|
|
7
7
|
specFileRetries: 2,
|
|
8
8
|
|
|
9
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html",
|
|
9
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3",
|
|
10
10
|
|
|
11
11
|
specs: [
|
|
12
12
|
path.resolve(__dirname, "clickOk.spec.js"),
|
|
@@ -9,7 +9,7 @@ exports.config = merge(profile.config, {
|
|
|
9
9
|
maxInstances: 2, // note: for the SAP account, only 2 parallel instances is a max value
|
|
10
10
|
|
|
11
11
|
bail: 1,
|
|
12
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html",
|
|
12
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/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"),
|
|
@@ -79,7 +79,7 @@ describe("control - focus - outside of viewpoint", function () {
|
|
|
79
79
|
describe("control - focus - no selector found and catch error", function () {
|
|
80
80
|
|
|
81
81
|
it("Preparation", async function () {
|
|
82
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html");
|
|
82
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
83
83
|
});
|
|
84
84
|
|
|
85
85
|
it("Execution & Verification", async function () {
|
|
@@ -6,7 +6,7 @@ exports.config = merge(profile.config, {
|
|
|
6
6
|
maxInstances: 6,
|
|
7
7
|
specFileRetries: 2,
|
|
8
8
|
|
|
9
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html",
|
|
9
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3",
|
|
10
10
|
|
|
11
11
|
specs: [
|
|
12
12
|
path.resolve(__dirname, "execute.spec.js"),
|
|
@@ -10,7 +10,7 @@ exports.config = merge(profile.config, {
|
|
|
10
10
|
maxInstances: 2, // note: for the SAP account, only 2 parallel instances is a max value
|
|
11
11
|
|
|
12
12
|
bail: 1,
|
|
13
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html",
|
|
13
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/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"),
|
|
@@ -43,7 +43,7 @@ describe("date - fillRange", function () {
|
|
|
43
43
|
|
|
44
44
|
describe("date - fillRange: no such field on a screen (unhappy case)", function () {
|
|
45
45
|
it("Preparation", async function () {
|
|
46
|
-
await browser.url("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html");
|
|
46
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
it("Execution & Verification", async function () {
|
|
@@ -126,7 +126,7 @@ describe("date - pick without datePiker (unhappy case)", function () {
|
|
|
126
126
|
};
|
|
127
127
|
|
|
128
128
|
it("Preparation", async function () {
|
|
129
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
129
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
130
130
|
});
|
|
131
131
|
|
|
132
132
|
it("Execution & Verification", async function () {
|
|
@@ -133,7 +133,7 @@ describe("date - pickRange without datePiker (unhappy case)", function () {
|
|
|
133
133
|
};
|
|
134
134
|
|
|
135
135
|
it("Preparation", async function () {
|
|
136
|
-
await browser.url("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories");
|
|
136
|
+
await browser.url("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories");
|
|
137
137
|
});
|
|
138
138
|
|
|
139
139
|
it("Execution & Verification", async function () {
|
|
@@ -48,7 +48,7 @@ describe("element - getByText with index 1 (unhappy case)", function () {
|
|
|
48
48
|
const value = "Gaming Monster";
|
|
49
49
|
|
|
50
50
|
it("Preparation", async function () {
|
|
51
|
-
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/category/DC");
|
|
51
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/category/DC");
|
|
52
52
|
});
|
|
53
53
|
|
|
54
54
|
it("Execution", async function () {
|
|
@@ -5,7 +5,7 @@ exports.config = merge(profile.config, {
|
|
|
5
5
|
maxInstances: 6,
|
|
6
6
|
specFileRetries: 2,
|
|
7
7
|
|
|
8
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html",
|
|
8
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/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/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html",
|
|
14
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/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"),
|
|
@@ -11,7 +11,7 @@ exports.config = merge(profile.config, {
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
bail: 1,
|
|
14
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html",
|
|
14
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/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/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html");
|
|
41
|
+
await common.navigation.navigateToUrlAndRetry("https://sapui5.hana.ondemand.com/1.99.0/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 () {
|
|
@@ -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/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/category/AC/product/HT-
|
|
51
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/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
|
|
|
@@ -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/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/category/AC/product/HT-
|
|
51
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/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
|
|
|
@@ -6,7 +6,7 @@ describe("userInteraction - fill", function () {
|
|
|
6
6
|
let actualValue;
|
|
7
7
|
|
|
8
8
|
it("Preparation", async function () {
|
|
9
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html");
|
|
9
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
10
10
|
await handleCookiesConsent();
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -36,7 +36,7 @@ describe("userInteraction - fill element with invalid selector", function () {
|
|
|
36
36
|
let value;
|
|
37
37
|
|
|
38
38
|
it("Preparation", async function () {
|
|
39
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html");
|
|
39
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
40
40
|
await handleCookiesConsent();
|
|
41
41
|
});
|
|
42
42
|
|
|
@@ -62,7 +62,7 @@ describe("userInteraction - fill 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/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html");
|
|
65
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
66
66
|
await handleCookiesConsent();
|
|
67
67
|
});
|
|
68
68
|
|
|
@@ -88,7 +88,7 @@ describe("userInteraction - fill element with number", function () {
|
|
|
88
88
|
|
|
89
89
|
describe("userInteraction - fill element with empty value", function () {
|
|
90
90
|
it("Preparation", async function () {
|
|
91
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html");
|
|
91
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
92
92
|
await handleCookiesConsent();
|
|
93
93
|
});
|
|
94
94
|
|
|
@@ -6,7 +6,7 @@ describe("userInteraction - fill and retry", function () {
|
|
|
6
6
|
let actualValue;
|
|
7
7
|
|
|
8
8
|
it("Preparation", async function () {
|
|
9
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html");
|
|
9
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
10
10
|
await handleCookiesConsent();
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -37,7 +37,7 @@ describe("userInteraction - fillAndRetry element with invalid selector", functio
|
|
|
37
37
|
let value;
|
|
38
38
|
|
|
39
39
|
it("Preparation", async function () {
|
|
40
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html");
|
|
40
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
41
41
|
await handleCookiesConsent();
|
|
42
42
|
});
|
|
43
43
|
|
|
@@ -64,7 +64,7 @@ describe("userInteraction - fillAndRetry element with number", function () {
|
|
|
64
64
|
let actualValue;
|
|
65
65
|
|
|
66
66
|
it("Preparation", async function () {
|
|
67
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html");
|
|
67
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
68
68
|
await handleCookiesConsent();
|
|
69
69
|
});
|
|
70
70
|
|
|
@@ -95,7 +95,7 @@ describe("userInteraction - fillAndRetry element with empty value", function ()
|
|
|
95
95
|
let actualValue;
|
|
96
96
|
|
|
97
97
|
it("Preparation", async function () {
|
|
98
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html");
|
|
98
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
99
99
|
await handleCookiesConsent();
|
|
100
100
|
});
|
|
101
101
|
|
|
@@ -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/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/category/AC/product/HT-6111");
|
|
53
|
+
await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.99.0/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", function () {
|
|
7
7
|
|
|
8
8
|
it("Preparation", async function () {
|
|
9
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html");
|
|
9
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/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 () {
|
|
@@ -67,7 +67,7 @@ describe("element - scrollToElement outside of viewpoint", function () {
|
|
|
67
67
|
describe("element - scrollToElement and catch error", function () {
|
|
68
68
|
|
|
69
69
|
it("Preparation", async function () {
|
|
70
|
-
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html");
|
|
70
|
+
await browser.navigateTo("https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3");
|
|
71
71
|
});
|
|
72
72
|
|
|
73
73
|
it("Execution & Verification", async function () {
|
|
@@ -3,10 +3,10 @@ const merge = require("deepmerge");
|
|
|
3
3
|
const profile = require("../../../helper/configurations/chrome.headless.conf");
|
|
4
4
|
|
|
5
5
|
exports.config = merge(profile.config, {
|
|
6
|
-
maxInstances:
|
|
6
|
+
maxInstances: 5,
|
|
7
7
|
specFileRetries: 2,
|
|
8
8
|
|
|
9
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html",
|
|
9
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/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, "clear.spec.js"),
|
|
@@ -10,7 +10,7 @@ exports.config = merge(profile.config, {
|
|
|
10
10
|
maxInstances: 2, // note: for the SAP account, only 5 parallel instances is a max value
|
|
11
11
|
|
|
12
12
|
bail: 1,
|
|
13
|
-
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html",
|
|
13
|
+
baseUrl: "https://sapui5.hana.ondemand.com/1.99.0/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, "clear.spec.js"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
describe("browser - getCurrentWindow", function () {
|
|
4
|
-
const sapWindowUrl = "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories";
|
|
4
|
+
const sapWindowUrl = "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories";
|
|
5
5
|
let sapWindowHandleNative;
|
|
6
6
|
let sapWindowHandleCustom;
|
|
7
7
|
|
|
@@ -20,7 +20,7 @@ describe("browser - getCurrentWindow", function () {
|
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
describe("browser - getCurrentWindow (unhappy case)", function () {
|
|
23
|
-
const sapWindowUrl = "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories";
|
|
23
|
+
const sapWindowUrl = "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories";
|
|
24
24
|
let sapWindowHandleCustom;
|
|
25
25
|
|
|
26
26
|
const wdioWindowUrl = "https://webdriver.io/";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
describe("browser - switchToWindow", function () {
|
|
4
|
-
const sapWindowUrl = "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories";
|
|
4
|
+
const sapWindowUrl = "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories";
|
|
5
5
|
let sapWindowHandle;
|
|
6
6
|
const wdioWindowUrl = "https://webdriver.io/";
|
|
7
7
|
let wdioWindowHandle;
|
|
@@ -40,7 +40,7 @@ describe("browser - switchToWindow", function () {
|
|
|
40
40
|
});
|
|
41
41
|
|
|
42
42
|
describe("browser - switchToWindow (unhappy case)", function () {
|
|
43
|
-
const sapWindowUrl = "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html#/categories";
|
|
43
|
+
const sapWindowUrl = "https://sapui5.hana.ondemand.com/1.99.0/test-resources/sap/m/demokit/cart/webapp/index.html?sap-ui-theme=sap_fiori_3#/categories";
|
|
44
44
|
|
|
45
45
|
it("Preparation", async function () {
|
|
46
46
|
await common.navigation.navigateToUrl(sapWindowUrl);
|