froth-webdriverio-framework 7.0.4 → 7.0.5

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,8 +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
+ // });
112
119
  if (process.env.PLATFORM === 'browserstack' || process.env.PLATFORM === 'browserstacklocal') {
113
- await driver.execute(`browserstack_executor: {"action": "annotate", "arguments": {"data":"${chunkMessage}","level": "${level}"}}`);
120
+ await driver.execute(`browserstack_executor: {"action": "annotate", "arguments": {"data":"${JSON.stringify(chunkMessage)}","level": "${level}"}}`);
114
121
  }
115
122
  }
116
123
 
@@ -159,9 +159,9 @@ const commonHooks = {
159
159
  capabilities['bstack:options'] = bsOpts;
160
160
 
161
161
  }
162
- console.log('final cinfig dteials :' + JSON.stringify(capabilities))
162
+ //console.log('final cinfig dteials :' + JSON.stringify(capabilities))
163
163
 
164
- console.log("config details " + JSON.stringify(config))
164
+ // console.log("config details " + JSON.stringify(config))
165
165
 
166
166
 
167
167
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "7.0.4",
3
+ "version": "7.0.5",
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": {