froth-webdriverio-framework 1.0.59 → 1.0.61
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/api/readTestdata.js
CHANGED
|
@@ -5,7 +5,7 @@ const getLoginToken = require('../api/loginapi.js');
|
|
|
5
5
|
// Function to get data from the API using the Bearer token
|
|
6
6
|
async function getDataById(frothUrl, token, id) {
|
|
7
7
|
|
|
8
|
-
if (id != 0 || id != null || id != undefined)
|
|
8
|
+
if (id != 0 || id != null || id != undefined|| id != "null") {
|
|
9
9
|
const url = `https://${frothUrl}/api/testdata-retrieve/${id}/`;
|
|
10
10
|
|
|
11
11
|
try {
|
|
@@ -29,7 +29,7 @@ const commonmobconfig = deepmerge.all([commonconfig, {
|
|
|
29
29
|
commonCapabilities: {
|
|
30
30
|
'bstack:options': {
|
|
31
31
|
projectName: process.env.PROJECTNAME || "roboticodigital",
|
|
32
|
-
|
|
32
|
+
// buildName: "Automation Build",
|
|
33
33
|
sessionName: 'Automation test session',
|
|
34
34
|
debug: true,
|
|
35
35
|
networkLogs: true
|
package/config/ios.conf.js
CHANGED
|
@@ -7,7 +7,7 @@ const iosconfig = deepmerge.all([commonmobileconfig, {
|
|
|
7
7
|
'browserstack',
|
|
8
8
|
{
|
|
9
9
|
testObservability: true,
|
|
10
|
-
|
|
10
|
+
buildIdentifier: `#${process.env.BUILD_NUMBER}`,
|
|
11
11
|
browserstackLocal: false,
|
|
12
12
|
opts: {
|
|
13
13
|
forcelocal: false,
|
|
@@ -23,7 +23,9 @@ const iosconfig = deepmerge.all([commonmobileconfig, {
|
|
|
23
23
|
deviceName: process.env.DEVICENAME || "iPhone 15 Pro Max",
|
|
24
24
|
osVersion: process.env.OSVERSION || "17",
|
|
25
25
|
platformName: 'iOS',
|
|
26
|
-
interactiveDebugging: true
|
|
26
|
+
interactiveDebugging: true,
|
|
27
|
+
buildName: process.env.BROWSERSTACK_BUILD_NAME || 'default-build-name',
|
|
28
|
+
|
|
27
29
|
}
|
|
28
30
|
}],
|
|
29
31
|
|