froth-webdriverio-framework 6.0.22 → 6.0.24
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.
|
@@ -24,7 +24,7 @@ let capabilities;
|
|
|
24
24
|
try {
|
|
25
25
|
capabilities = yaml.load(fs.readFileSync(path.join(path.resolve(process.cwd(), configFile)), 'utf8'));
|
|
26
26
|
// Merge chrome-specific options if applicable
|
|
27
|
-
|
|
27
|
+
|
|
28
28
|
} catch (e) {
|
|
29
29
|
const errorMsg = `The capability file does not exist in the currently configured repository at path: ${path.resolve(process.cwd(), configFile)}: ${e.message},Please update the Capability by editing the file`;
|
|
30
30
|
console.error(errorMsg);
|
|
@@ -101,8 +101,8 @@ const specificConfig = setupPrerequisites();
|
|
|
101
101
|
exports.config = deepmerge(commonconfig,
|
|
102
102
|
|
|
103
103
|
{
|
|
104
|
-
user: process.env.BROWSERSTACK_USERNAME,
|
|
105
|
-
key: process.env.BROWSERSTACK_ACCESS_KEY,
|
|
104
|
+
user: 'naveen_OSt3Pw',//process.env.BROWSERSTACK_USERNAME,
|
|
105
|
+
key: 'B9Rx28MTKFzRJ2QEVK1c',//process.env.BROWSERSTACK_ACCESS_KEY,
|
|
106
106
|
// debug: true,
|
|
107
107
|
// execArgv: ['--inspect-brk'],
|
|
108
108
|
services: PLATFORM === 'browserstack'
|
|
@@ -111,12 +111,30 @@ exports.config = deepmerge(commonconfig,
|
|
|
111
111
|
? ['sauce']
|
|
112
112
|
: [],
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
runner: 'local',
|
|
115
115
|
specs: require(SUITE_FILE).tests,
|
|
116
116
|
|
|
117
117
|
maxInstances: 1,
|
|
118
|
-
capabilities: [capabilities],
|
|
119
|
-
|
|
118
|
+
// capabilities: [capabilities],
|
|
119
|
+
capabilities: [{
|
|
120
|
+
platformName: "android",
|
|
121
|
+
app: "bs://30fdf3a163d0bad126f64a3d5713e9ab0086a41e",
|
|
122
|
+
|
|
123
|
+
"bstack:options": {
|
|
124
|
+
userName: "naveen_OSt3Pw",
|
|
125
|
+
accessKey: "B9Rx28MTKFzRJ2QEVK1c",
|
|
126
|
+
deviceName: "Samsung Galaxy S22 Ultra",
|
|
127
|
+
platformVersion: "12.0",
|
|
128
|
+
buildIdentifier: "${BUILD_NUMBER}",
|
|
129
|
+
buildName: "yesshop_319_20251208",
|
|
130
|
+
interactiveDebugging: true,
|
|
131
|
+
deviceOrientation: "portrait",
|
|
132
|
+
networkLogs: true,
|
|
133
|
+
debug: true,
|
|
134
|
+
projectName: "Yesshop",
|
|
135
|
+
sessionName: "Reload Test"
|
|
136
|
+
}
|
|
137
|
+
}],
|
|
120
138
|
logLevel: 'info',
|
|
121
139
|
coloredLogs: true,
|
|
122
140
|
screenshotPath: './errorShots/',
|