@axe-core/watcher 3.16.0-next.bc42b90e → 3.16.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cypress.d.ts +0 -2
- package/dist/cypress.js +5 -9
- package/dist/cypress.js.map +1 -1
- package/dist/cypressCommands.js +47 -38
- package/dist/cypressCommands.js.map +1 -1
- package/extension/background.js +1 -1
- package/extension/content.js +1 -1
- package/package.json +5 -5
package/dist/cypress.d.ts
CHANGED
@@ -1,6 +1,4 @@
|
|
1
1
|
import { type Configuration } from './utils/writeVariables';
|
2
|
-
export declare const cypressConfigRunFlag = "__AXE_WATCHER_CYPRESS_CONFIG_RUN";
|
3
|
-
export declare const cypressConfigAutoAnalyzeFlag = "__AXE_WATCHER_AUTO_ANALYZE";
|
4
2
|
/**
|
5
3
|
* Create a Cypress config that uses the axe Watcher extension.
|
6
4
|
*
|
package/dist/cypress.js
CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.cypressConfig =
|
6
|
+
exports.cypressConfig = void 0;
|
7
7
|
const sendResultsToServer_1 = __importDefault(require("./sendResultsToServer"));
|
8
8
|
const EventForwarder_1 = __importDefault(require("./EventForwarder"));
|
9
9
|
const writeVariables_1 = __importDefault(require("./utils/writeVariables"));
|
@@ -12,8 +12,7 @@ const headlessNotSupportedError_1 = require("./utils/headlessNotSupportedError")
|
|
12
12
|
const mergeChromeArgs_1 = __importDefault(require("./utils/mergeChromeArgs"));
|
13
13
|
const createDebugger_1 = __importDefault(require("./createDebugger"));
|
14
14
|
const debugLogger = (0, createDebugger_1.default)('CypressController');
|
15
|
-
|
16
|
-
exports.cypressConfigAutoAnalyzeFlag = '__AXE_WATCHER_AUTO_ANALYZE';
|
15
|
+
const cypressConfigRunFlag = '__AXE_WATCHER_CYPRESS_CONFIG_RUN';
|
17
16
|
const cypressConfig = (config) => {
|
18
17
|
var _a;
|
19
18
|
const { axe, ...userConfig } = config;
|
@@ -32,12 +31,12 @@ const cypressConfig = (config) => {
|
|
32
31
|
});
|
33
32
|
if ((_a = userConfig.e2e) === null || _a === void 0 ? void 0 : _a.env) {
|
34
33
|
userConfig.e2e.env = Object.assign({}, userConfig.e2e.env, {
|
35
|
-
[
|
34
|
+
[cypressConfigRunFlag]: true
|
36
35
|
});
|
37
36
|
}
|
38
37
|
else {
|
39
38
|
userConfig.env = Object.assign({}, userConfig.env, {
|
40
|
-
[
|
39
|
+
[cypressConfigRunFlag]: true
|
41
40
|
});
|
42
41
|
}
|
43
42
|
if (hasWatcherDebug) {
|
@@ -45,9 +44,6 @@ const cypressConfig = (config) => {
|
|
45
44
|
__AXE_WATCHER_DEBUG: hasWatcherDebug
|
46
45
|
});
|
47
46
|
}
|
48
|
-
userConfig.env = Object.assign({}, userConfig.env, {
|
49
|
-
[exports.cypressConfigAutoAnalyzeFlag]: axe.autoAnalyze === undefined ? true : axe.autoAnalyze
|
50
|
-
});
|
51
47
|
return {
|
52
48
|
...userConfig,
|
53
49
|
e2e: {
|
@@ -59,7 +55,7 @@ const cypressConfig = (config) => {
|
|
59
55
|
const userNodeEventConfig = await ((_b = (_a = userConfig.e2e) === null || _a === void 0 ? void 0 : _a.setupNodeEvents) === null || _b === void 0 ? void 0 : _b.call(_a, on, ...args));
|
60
56
|
if (userNodeEventConfig) {
|
61
57
|
userNodeEventConfig.env = Object.assign({}, userNodeEventConfig.env, {
|
62
|
-
[
|
58
|
+
[cypressConfigRunFlag]: true
|
63
59
|
});
|
64
60
|
}
|
65
61
|
on('task', {
|
package/dist/cypress.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cypress.js","sourceRoot":"","sources":["../src/cypress.ts"],"names":[],"mappings":";;;;;;AACA,gFAAuD;AACvD,sEAA6C;AAC7C,4EAA2E;AAC3E,4FAA0D;AAC1D,iFAA6E;AAC7E,8EAAqD;AACrD,sEAA6C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CAAC;iBACF,CAAC,CAAA;gBAEF,EAAE,CAAC,uBAAuB,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE;oBAGrD,IACE,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC;wBAClC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,EACnC,CAAC;wBACD,MAAM,IAAI,KAAK,CACb,0GAA0G,OAAO,CAAC,IAAI,mIAAmI,CAC1P,CAAA;oBACH,CAAC;oBAED,IAAI,OAAO,CAAC,UAAU,IAAI,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC;wBACpE,MAAM,IAAI,qDAAyB,CACjC,sPAAsP,CACvP,CAAA;oBACH,CAAC;oBAGD,MAAM,YAAY,GAAG,aAAa,CAAC,IAAI,CAAA;oBACvC,aAAa,CAAC,IAAI,GAAG,IAAA,yBAAe,EAAC,YAAY,EAAE;wBACjD,sBAAsB,EAAE,KAAK;qBAC9B,CAAC,CAAA;oBAEF,OAAO,aAAa,CAAA;gBACtB,CAAC,CAAC,CAAA;gBAMF,cAAc,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;gBAEjC,OAAO,mBAAmB,CAAA;YAC5B,CAAC;SACF;KACF,CAAA;AACH,CAAC,CAAA;AAjJY,QAAA,aAAa,iBAiJzB"}
|
package/dist/cypressCommands.js
CHANGED
@@ -2,8 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.WRAPPED_COMMANDS = void 0;
|
4
4
|
const cypressConfigRunFlag = '__AXE_WATCHER_CYPRESS_CONFIG_RUN';
|
5
|
-
|
6
|
-
let isStopped = !Cypress.env(cypressConfigAutoAnalyzeFlag);
|
5
|
+
let isStopped = false;
|
7
6
|
exports.WRAPPED_COMMANDS = [
|
8
7
|
'blur',
|
9
8
|
'check',
|
@@ -76,7 +75,7 @@ Cypress.Commands.addQuery('__axeRestoreSubject', function (subjectChain, timeout
|
|
76
75
|
return () => cy.getSubjectFromChain(subjectChain);
|
77
76
|
});
|
78
77
|
function axeWatcherFlushCommand() {
|
79
|
-
logDebugAxeWatcher({ message: 'Flush: Invoked' });
|
78
|
+
logDebugAxeWatcher({ message: 'Flush: Invoked (may analyze implicitly)' });
|
80
79
|
cy.window().then(win => {
|
81
80
|
if (!shouldAnalyzeLocation(win.location)) {
|
82
81
|
return Promise.resolve();
|
@@ -93,9 +92,7 @@ function axeWatcherFlushCommand() {
|
|
93
92
|
};
|
94
93
|
win.addEventListener('axe:flush-end', onFlushEnd);
|
95
94
|
win.addEventListener('axe:result', onAxeResult);
|
96
|
-
const event = new CustomEvent('axe:flush-start'
|
97
|
-
detail: { isStopped }
|
98
|
-
});
|
95
|
+
const event = new CustomEvent('axe:flush-start');
|
99
96
|
win.dispatchEvent(event);
|
100
97
|
}).then(results => {
|
101
98
|
cy.task('__uploadAxeWatcherResults', { results }, { log: false });
|
@@ -106,31 +103,22 @@ function axeWatcherFlushCommand() {
|
|
106
103
|
const doesCypressCommandExist = (commandName) => {
|
107
104
|
return !!Cypress.cy[commandName];
|
108
105
|
};
|
109
|
-
function axeWatcherAnalyzeCommand(
|
110
|
-
const userRequestedAnalyze = __UserRequestedAnalyze;
|
111
|
-
const message = userRequestedAnalyze
|
112
|
-
? 'User requested analysis'
|
113
|
-
: `Invoked${__Method ? ` - ${__Method}` : ''}`;
|
106
|
+
function axeWatcherAnalyzeCommand({ __Method, __UserRequestedAnalyze = true } = {}) {
|
114
107
|
logDebugAxeWatcher({
|
115
|
-
message: `Analyze: ${
|
108
|
+
message: `Analyze: Invoked${__Method ? ` - ${__Method}` : ''}`
|
116
109
|
});
|
110
|
+
const userRequestedAnalyze = __UserRequestedAnalyze;
|
117
111
|
cy.window().then(win => {
|
118
112
|
if (!shouldAnalyzeLocation(win.location)) {
|
119
|
-
|
120
|
-
message: `Analyze: Skipped - invalid protocol`
|
121
|
-
});
|
122
|
-
return Promise.resolve({ message: `Skipped - Invalid protocol`, subject });
|
113
|
+
return Promise.resolve({ message: `Skipped - Invalid protocol` });
|
123
114
|
}
|
124
115
|
if (isStopped && !userRequestedAnalyze) {
|
125
|
-
|
126
|
-
message: `Analyze: Skipped - manual mode`
|
127
|
-
});
|
128
|
-
return Promise.resolve({ message: `Skipped (Manual mode)`, subject });
|
116
|
+
return Promise.resolve({ message: `Skipped (Manual mode)` });
|
129
117
|
}
|
130
118
|
return new Promise(resolve => {
|
131
119
|
const fn = (event) => {
|
132
120
|
win.removeEventListener('axe:manual-mode-analyze-done', fn);
|
133
|
-
resolve(
|
121
|
+
resolve(event.detail);
|
134
122
|
};
|
135
123
|
win.addEventListener('axe:manual-mode-analyze-done', fn);
|
136
124
|
const event = new CustomEvent('axe:manual-mode-analyze', {
|
@@ -139,32 +127,53 @@ function axeWatcherAnalyzeCommand(subject, { __Method, __UserRequestedAnalyze =
|
|
139
127
|
win.dispatchEvent(event);
|
140
128
|
}).then(result => {
|
141
129
|
logDebugAxeWatcher({ message: `Analyze: ${result === null || result === void 0 ? void 0 : result.message}` });
|
142
|
-
if (result === null || result === void 0 ? void 0 : result.subject) {
|
143
|
-
return result.subject;
|
144
|
-
}
|
145
130
|
});
|
146
131
|
});
|
147
132
|
}
|
148
|
-
function axeWatcherStartCommand(
|
149
|
-
cy.window().then(
|
150
|
-
|
151
|
-
|
133
|
+
function axeWatcherStartCommand() {
|
134
|
+
cy.window().then(win => {
|
135
|
+
if (!shouldAnalyzeLocation(win.location)) {
|
136
|
+
return Promise.resolve();
|
137
|
+
}
|
138
|
+
return new Promise(resolve => {
|
139
|
+
const fn = () => {
|
140
|
+
win.removeEventListener('axe:start-auto-mode-done', fn);
|
141
|
+
resolve();
|
142
|
+
};
|
143
|
+
win.addEventListener('axe:start-auto-mode-done', fn);
|
144
|
+
const event = new CustomEvent('axe:start-auto-mode');
|
145
|
+
win.dispatchEvent(event);
|
146
|
+
}).then(() => {
|
147
|
+
isStopped = false;
|
148
|
+
});
|
152
149
|
});
|
153
150
|
}
|
154
|
-
function axeWatcherStopCommand(
|
155
|
-
cy.window().then(
|
156
|
-
|
157
|
-
|
151
|
+
function axeWatcherStopCommand() {
|
152
|
+
cy.window().then(win => {
|
153
|
+
if (!shouldAnalyzeLocation(win.location)) {
|
154
|
+
return Promise.resolve();
|
155
|
+
}
|
156
|
+
return new Promise(resolve => {
|
157
|
+
const fn = () => {
|
158
|
+
win.removeEventListener('axe:stop-auto-mode-done', fn);
|
159
|
+
resolve();
|
160
|
+
};
|
161
|
+
win.addEventListener('axe:stop-auto-mode-done', fn);
|
162
|
+
const event = new CustomEvent('axe:stop-auto-mode');
|
163
|
+
win.dispatchEvent(event);
|
164
|
+
}).then(() => {
|
165
|
+
isStopped = true;
|
166
|
+
});
|
158
167
|
});
|
159
168
|
}
|
160
169
|
if (!doesCypressCommandExist('axeAnalyze')) {
|
161
|
-
Cypress.Commands.add('
|
170
|
+
Cypress.Commands.add('axeAnalyze', axeWatcherAnalyzeCommand);
|
162
171
|
}
|
163
172
|
Cypress.Commands.add('axeFlush', axeWatcherFlushCommand);
|
164
|
-
Cypress.Commands.add('axeStop',
|
165
|
-
Cypress.Commands.add('axeStart',
|
166
|
-
Cypress.Commands.add('axeWatcherAnalyze',
|
167
|
-
Cypress.Commands.add('axeWatcherStart',
|
168
|
-
Cypress.Commands.add('axeWatcherStop',
|
173
|
+
Cypress.Commands.add('axeStop', axeWatcherStopCommand);
|
174
|
+
Cypress.Commands.add('axeStart', axeWatcherStartCommand);
|
175
|
+
Cypress.Commands.add('axeWatcherAnalyze', axeWatcherAnalyzeCommand);
|
176
|
+
Cypress.Commands.add('axeWatcherStart', axeWatcherStartCommand);
|
177
|
+
Cypress.Commands.add('axeWatcherStop', axeWatcherStopCommand);
|
169
178
|
Cypress.Commands.add('axeWatcherFlush', axeWatcherFlushCommand);
|
170
179
|
//# sourceMappingURL=cypressCommands.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cypressCommands.js","sourceRoot":"","sources":["../src/cypressCommands.ts"],"names":[],"mappings":";;;AAYA,MAAM,oBAAoB,GAAG,kCAAkC,CAAA;
|
1
|
+
{"version":3,"file":"cypressCommands.js","sourceRoot":"","sources":["../src/cypressCommands.ts"],"names":[],"mappings":";;;AAYA,MAAM,oBAAoB,GAAG,kCAAkC,CAAA;AAyG/D,IAAI,SAAS,GAAG,KAAK,CAAA;AAKR,QAAA,gBAAgB,GAAiC;IAC5D,MAAM;IACN,OAAO;IACP,OAAO;IACP,OAAO;IACP,UAAU;IACV,OAAO;IACP,IAAI;IACJ,QAAQ;IACR,gBAAgB;IAChB,UAAU;IACV,QAAQ;IACR,QAAQ;IACR,SAAS;IACT,MAAM;IACN,SAAS;IACT,OAAO;IACP,MAAM;CACP,CAAA;AAQD,MAAM,kBAAkB,GAAG,CAAC,EAAE,OAAO,EAA4B,EAAQ,EAAE;IAGzE,IAAI,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,EAAE,CAAC;QACvC,EAAE,CAAC,IAAI,CAAC,mBAAmB,EAAE,OAAO,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,CAAA;IACvD,CAAC;AACH,CAAC,CAAA;AAED,MAAM,qBAAqB,GAAG,CAAC,QAAkB,EAAW,EAAE,CAC5D,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;AAG1D,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,EAAE,CAAC;IACvC,MAAM,IAAI,KAAK,CACb,iJAAiJ,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,wCAAwC,CACtN,CAAA;AACH,CAAC;AAUD,wBAAgB,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAChC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,UAAU,EAAE,GAAG,IAAI,EAAE,EAAE;;IACzD,MAAM,cAAc,GAAI,EAAi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