@testomatio/reporter 0.5.7 → 0.5.8

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.
package/Changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.5.8
2
+
3
+ * Fixed Cypress.io reporting
4
+
1
5
  # 0.5.7
2
6
 
3
7
  * Fixed webdriverio artifacts
@@ -5,11 +5,14 @@ const TestomatClient = require('../../client');
5
5
  const testomatioReporter = on => {
6
6
  const client = new TestomatClient({ apiKey: process.env.TESTOMATIO });
7
7
 
8
- on('before:run', async () => {
8
+ on('before:run', async (run) => {
9
9
  if (!client.title) {
10
- client.title = `${run.config.projectName} tests @${run.browser.displayName} @${run.system.osName}`
10
+ client.title = `${run.config.projectName} tests`
11
11
  if (client.title.includes('undefined')) delete client.title;
12
12
  }
13
+ if (!client.env) {
14
+ client.env = `${run.browser.displayName},${run.system.osName}`
15
+ }
13
16
  await client.createRun();
14
17
  });
15
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "repository": "git@github.com:testomatio/reporter.git",