@axe-core/cli 4.9.2-dfa602b.0 → 4.10.1-fe7bb7d.0
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/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axe-core/cli",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.0",
|
|
4
4
|
"description": "A CLI for accessibility testing using axe-core",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Wilco Fiers",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
"testing"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@axe-core/webdriverjs": "^4.
|
|
51
|
-
"axe-core": "~4.
|
|
50
|
+
"@axe-core/webdriverjs": "^4.10.0",
|
|
51
|
+
"axe-core": "~4.10.0",
|
|
52
52
|
"chromedriver": "latest",
|
|
53
53
|
"colors": "^1.4.0",
|
|
54
54
|
"commander": "^9.4.1",
|
|
55
|
-
"selenium-webdriver": "~4.
|
|
55
|
+
"selenium-webdriver": "~4.22.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/chai": "^4.3.3",
|
|
@@ -85,11 +85,11 @@ describe('startDriver', () => {
|
|
|
85
85
|
chai_1.assert.equal(chromedriverPath, config.chromedriverPath);
|
|
86
86
|
}));
|
|
87
87
|
it('passes the --no-sandbox argument to chromeOptions', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
88
|
-
var
|
|
88
|
+
var _a;
|
|
89
89
|
browser = 'chrome-headless';
|
|
90
90
|
config.chromeOptions = ['--no-sandbox'];
|
|
91
91
|
driver = yield (0, webdriver_1.startDriver)(config);
|
|
92
|
-
const options = (
|
|
92
|
+
const options = (_a = config === null || config === void 0 ? void 0 : config.builder) === null || _a === void 0 ? void 0 : _a.getChromeOptions();
|
|
93
93
|
chai_1.assert.isArray(options === null || options === void 0 ? void 0 : options.get('goog:chromeOptions').args);
|
|
94
94
|
chai_1.assert.deepEqual(options === null || options === void 0 ? void 0 : options.get('goog:chromeOptions').args, [
|
|
95
95
|
'headless',
|
|
@@ -97,11 +97,11 @@ describe('startDriver', () => {
|
|
|
97
97
|
]);
|
|
98
98
|
}));
|
|
99
99
|
it('passes multiple arguments argument to chromeOptions', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
100
|
-
var
|
|
100
|
+
var _a;
|
|
101
101
|
browser = 'chrome-headless';
|
|
102
102
|
config.chromeOptions = ['no-sandbox', 'disable-dev-shm-usage'];
|
|
103
103
|
driver = yield (0, webdriver_1.startDriver)(config);
|
|
104
|
-
const options = (
|
|
104
|
+
const options = (_a = config === null || config === void 0 ? void 0 : config.builder) === null || _a === void 0 ? void 0 : _a.getChromeOptions();
|
|
105
105
|
chai_1.assert.isArray(options === null || options === void 0 ? void 0 : options.get('goog:chromeOptions').args);
|
|
106
106
|
chai_1.assert.deepEqual(options === null || options === void 0 ? void 0 : options.get('goog:chromeOptions').args, [
|
|
107
107
|
'headless',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axe-core/cli",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.1-fe7bb7d.0+fe7bb7d",
|
|
4
4
|
"description": "A CLI for accessibility testing using axe-core",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Wilco Fiers",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
"testing"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@axe-core/webdriverjs": "4.
|
|
51
|
-
"axe-core": "~4.
|
|
50
|
+
"@axe-core/webdriverjs": "4.10.1-fe7bb7d.0+fe7bb7d",
|
|
51
|
+
"axe-core": "~4.10.0",
|
|
52
52
|
"chromedriver": "latest",
|
|
53
53
|
"colors": "^1.4.0",
|
|
54
54
|
"commander": "^9.4.1",
|
|
55
|
-
"selenium-webdriver": "~4.
|
|
55
|
+
"selenium-webdriver": "~4.22.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/chai": "^4.3.3",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"src/testutils"
|
|
91
91
|
]
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "fe7bb7d2ed3514e416500556450d5f178819393c"
|
|
94
94
|
}
|