datagrok-tools 4.13.59 → 4.13.61
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 +12 -0
- package/bin/commands/test.js +4 -1
- package/bin/utils/test-utils.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Datagrok-tools changelog
|
|
2
2
|
|
|
3
|
+
## 4.13.61 (2025-01-27)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* No Sandbox mode for puppeteer added
|
|
8
|
+
|
|
9
|
+
## 4.13.60 (2025-01-09)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* Updated console output for cases "Tests not found"
|
|
14
|
+
|
|
3
15
|
## 4.13.59 (2025-01-09)
|
|
4
16
|
|
|
5
17
|
### Features
|
package/bin/commands/test.js
CHANGED
|
@@ -68,7 +68,10 @@ function _test() {
|
|
|
68
68
|
res = _context.sent;
|
|
69
69
|
if (args.csv) (0, _testUtils.saveCsvResults)([res.csv], csvReportDir);
|
|
70
70
|
(0, _testUtils.printBrowsersResult)(res, args.verbose);
|
|
71
|
-
if (res.failed)
|
|
71
|
+
if (res.failed) {
|
|
72
|
+
if (res.verboseFailed === 'Package not found') testUtils.exitWithCode(0);
|
|
73
|
+
testUtils.exitWithCode(1);
|
|
74
|
+
} else testUtils.exitWithCode(0);
|
|
72
75
|
return _context.abrupt("return", true);
|
|
73
76
|
case 20:
|
|
74
77
|
case "end":
|
package/bin/utils/test-utils.js
CHANGED
|
@@ -50,7 +50,7 @@ var grokDir = _path["default"].join(_os["default"].homedir(), '.grok');
|
|
|
50
50
|
var confPath = _path["default"].join(grokDir, 'config.yaml');
|
|
51
51
|
var testCollectionTimeout = 100000;
|
|
52
52
|
var defaultLaunchParameters = exports.defaultLaunchParameters = {
|
|
53
|
-
args: ['--disable-dev-shm-usage', '--disable-features=site-per-process', '--window-size=1920,1080'],
|
|
53
|
+
args: ['--disable-dev-shm-usage', '--disable-features=site-per-process', '--window-size=1920,1080', '--no-sandbox', '--disable-setuid-sandbox'],
|
|
54
54
|
ignoreHTTPSErrors: true,
|
|
55
55
|
headless: 'new',
|
|
56
56
|
protocolTimeout: 0
|
|
@@ -599,7 +599,7 @@ function printBrowsersResult(browserResult) {
|
|
|
599
599
|
console.log("Skipped amount: " + (browserResult === null || browserResult === void 0 ? void 0 : browserResult.skippedAmount));
|
|
600
600
|
console.log("Failed amount: " + (browserResult === null || browserResult === void 0 ? void 0 : browserResult.failedAmount));
|
|
601
601
|
if (browserResult.failed) {
|
|
602
|
-
color.fail('Tests failed.');
|
|
602
|
+
if (browserResult.verboseFailed === 'Package not found') color.fail('Tests not found');else color.fail('Tests failed.');
|
|
603
603
|
} else {
|
|
604
604
|
color.success('Tests passed.');
|
|
605
605
|
}
|
package/package.json
CHANGED