@dev-blinq/cucumber_client 1.0.1231-dev → 1.0.1232-dev

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.
@@ -322,7 +322,8 @@ class ScenarioReport {
322
322
  }
323
323
  const reportLink = baseUrl + "/" + projectId + "/scenario-report/" + scenarioId;
324
324
  try {
325
- publishReportLinkToGuacServer(reportLink);
325
+ const status = getJsonReport(this).result.status;
326
+ publishReportLinkToGuacServer(reportLink, status === "PASSED");
326
327
  } catch (err) {
327
328
  logger.error(`Failed to publish report link to guac server: ${err}`);
328
329
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1231-dev",
3
+ "version": "1.0.1232-dev",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",