froth-webdriverio-framework 7.0.5 → 7.0.6
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.
|
@@ -109,15 +109,15 @@ async function amend2Browserstack(annotationMessage, level) {
|
|
|
109
109
|
|
|
110
110
|
console.log(`Annotation message: ${chunkMessage}`);
|
|
111
111
|
|
|
112
|
-
// await driver.execute("browserstack_executor", {
|
|
113
|
-
// action: "annotate",
|
|
114
|
-
// arguments: {
|
|
115
|
-
// data: chunkMessage,
|
|
116
|
-
// level: level
|
|
117
|
-
// }
|
|
118
|
-
// });
|
|
119
112
|
if (process.env.PLATFORM === 'browserstack' || process.env.PLATFORM === 'browserstacklocal') {
|
|
120
|
-
await driver.execute(`browserstack_executor: {"action": "annotate", "arguments": {"data":"${JSON.stringify(chunkMessage)}","level": "${level}"}}`);
|
|
113
|
+
// await driver.execute(`browserstack_executor: {"action": "annotate", "arguments": {"data":"${JSON.stringify(chunkMessage)}","level": "${level}"}}`);
|
|
114
|
+
await driver.execute("browserstack_executor", {
|
|
115
|
+
action: "annotate",
|
|
116
|
+
arguments: {
|
|
117
|
+
data: chunkMessage,
|
|
118
|
+
level: level
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "froth-webdriverio-framework",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.6",
|
|
4
4
|
"readme": "WendriverIO Integration with [BrowserStack](https://www.browserstack.com)",
|
|
5
5
|
"description": "Selenium examples for WebdriverIO and BrowserStack App Automate",
|
|
6
6
|
"scripts": {
|