froth-webdriverio-framework 1.0.3 → 1.0.4

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.
@@ -34,7 +34,7 @@ async function getBSSessionDetails(sessiontype,bs_username,bs_pwd) {
34
34
 
35
35
  // Accessing the public_url property
36
36
  const publicUrl = data.automation_session.public_url;
37
- BUFFER.setItem("BS_PUBLIC_URL",publicUrl)
37
+ BUFFER.setItem("REPORT_URL",publicUrl)
38
38
  console.log("public url : " + publicUrl);
39
39
  // return jsondata;
40
40
  } else if (response.status === 401) { //
@@ -61,7 +61,7 @@ async function updateExecuitonDetails(frothUrl, token, id, resultdetails) {
61
61
  formData.append('excution_status', resultdetails.excution_status);
62
62
  formData.append('excution_time', resultdetails.excution_time);
63
63
  formData.append('id', BUFFER.getItem("EXECUTION_ID"))
64
-
64
+ formData.append('report_url',BUFFER.getItem("REPORT_URL"))
65
65
  const response = await fetch(url, {
66
66
  method: 'PUT',
67
67
  headers: {
@@ -15,8 +15,8 @@ const commonconfig = {
15
15
  // console.log("organisation url" + process.env.ORGANISATION_DOMAIN_URL);
16
16
  BUFFER.setItem("EXECUTION_ID", process.env.EXECUTION_ID);
17
17
  BUFFER.setItem("ORGANISATION_DOMAIN_URL", process.env.ORGANISATION_DOMAIN_URL);
18
- BUFFER.setItem("SERVICE_USER", "subhra.subudhi@roboticodigital.com");
19
- BUFFER.setItem("SERVICE_PASSWORD", "V2VsY29tZUAxMjM=");
18
+ BUFFER.setItem("SERVICE_USER", "frothbot@roboticodigital.com");
19
+ BUFFER.setItem("SERVICE_PASSWORD", "RnJvdGh0ZXN0b3BzQDU1NQ==");
20
20
  BUFFER.setItem("BROWSERSTACK_USERNAME", process.env.BROWSERSTACK_USERNAME);
21
21
  BUFFER.setItem("BROWSERSTACK_ACCESS_KEY", process.env.BROWSERSTACK_ACCESS_KEY);
22
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "readme": "WendriverIO Integration with [BrowserStack]",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",