monocart-reporter 2.4.5 → 2.4.7

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.
@@ -153,6 +153,12 @@ const Util = {
153
153
  },
154
154
 
155
155
  isTagItem: (item) => {
156
+
157
+ // new syntax in playwright v1.42
158
+ if (item.tags) {
159
+ return true;
160
+ }
161
+
156
162
  if (item.type === 'case' || (item.type === 'suite' && item.suiteType === 'describe')) {
157
163
  return true;
158
164
  }
@@ -1,6 +1,6 @@
1
1
  const fs = require('fs');
2
2
  const Util = require('../utils/util.js');
3
- const { Locator } = require('monocart-formatter');
3
+ const { Locator } = require('monocart-locator');
4
4
 
5
5
  const cacheMap = new Map();
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monocart-reporter",
3
- "version": "2.4.5",
3
+ "version": "2.4.7",
4
4
  "description": "A playwright test reporter. Shows suites/cases/steps with tree style, markdown annotations, custom columns/formatters/data collection visitors, console logs, style tags, send email.",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
@@ -44,25 +44,26 @@
44
44
  "dependencies": {
45
45
  "console-grid": "^2.2.2",
46
46
  "eight-colors": "^1.3.0",
47
- "koa": "^2.15.1",
47
+ "koa": "^2.15.3",
48
48
  "koa-static-resolver": "^1.0.6",
49
49
  "lz-utils": "^2.0.2",
50
- "monocart-coverage-reports": "^2.7.4",
51
- "monocart-formatter": "^2.3.2",
52
- "nodemailer": "^6.9.12",
50
+ "monocart-coverage-reports": "^2.8.2",
51
+ "monocart-formatter": "^3.0.0",
52
+ "monocart-locator": "^1.0.0",
53
+ "nodemailer": "^6.9.13",
53
54
  "turbogrid": "^3.0.13"
54
55
  },
55
56
  "devDependencies": {
56
- "@playwright/test": "^1.42.1",
57
+ "@playwright/test": "^1.44.0",
57
58
  "axios": "^1.6.8",
58
59
  "dotenv": "^16.4.5",
59
- "eslint": "^8.57.0",
60
- "eslint-config-plus": "^1.0.6",
61
- "eslint-plugin-html": "^8.0.0",
62
- "eslint-plugin-vue": "^9.23.0",
60
+ "eslint": "^9.3.0",
61
+ "eslint-config-plus": "^2.0.0",
62
+ "eslint-plugin-html": "^8.1.1",
63
+ "eslint-plugin-vue": "^9.26.0",
63
64
  "open": "8.4.2",
64
- "stylelint": "^16.2.1",
65
- "stylelint-config-plus": "^1.1.0",
65
+ "stylelint": "^16.5.0",
66
+ "stylelint-config-plus": "^1.1.2",
66
67
  "vine-ui": "^3.1.13"
67
68
  }
68
69
  }