@axe-core/watcher 3.15.2-next.6a304070 → 3.15.2-next.8be2ae4b

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cypress.d.ts CHANGED
@@ -1,4 +1,6 @@
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";
2
4
  /**
3
5
  * Create a Cypress config that uses the axe Watcher extension.
4
6
  *
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 = void 0;
6
+ exports.cypressConfig = exports.cypressConfigAutoAnalyzeFlag = exports.cypressConfigRunFlag = 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,7 +12,8 @@ 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
- const cypressConfigRunFlag = '__AXE_WATCHER_CYPRESS_CONFIG_RUN';
15
+ exports.cypressConfigRunFlag = '__AXE_WATCHER_CYPRESS_CONFIG_RUN';
16
+ exports.cypressConfigAutoAnalyzeFlag = '__AXE_WATCHER_AUTO_ANALYZE';
16
17
  const cypressConfig = (config) => {
17
18
  var _a;
18
19
  const { axe, ...userConfig } = config;
@@ -31,12 +32,12 @@ const cypressConfig = (config) => {
31
32
  });
32
33
  if ((_a = userConfig.e2e) === null || _a === void 0 ? void 0 : _a.env) {
33
34
  userConfig.e2e.env = Object.assign({}, userConfig.e2e.env, {
34
- [cypressConfigRunFlag]: true
35
+ [exports.cypressConfigRunFlag]: true
35
36
  });
36
37
  }
37
38
  else {
38
39
  userConfig.env = Object.assign({}, userConfig.env, {
39
- [cypressConfigRunFlag]: true
40
+ [exports.cypressConfigRunFlag]: true
40
41
  });
41
42
  }
42
43
  if (hasWatcherDebug) {
@@ -44,6 +45,9 @@ const cypressConfig = (config) => {
44
45
  __AXE_WATCHER_DEBUG: hasWatcherDebug
45
46
  });
46
47
  }
48
+ userConfig.env = Object.assign({}, userConfig.env, {
49
+ [exports.cypressConfigAutoAnalyzeFlag]: axe.autoAnalyze === undefined ? true : axe.autoAnalyze
50
+ });
47
51
  return {
48
52
  ...userConfig,
49
53
  e2e: {
@@ -55,7 +59,7 @@ const cypressConfig = (config) => {
55
59
  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));
56
60
  if (userNodeEventConfig) {
57
61
  userNodeEventConfig.env = Object.assign({}, userNodeEventConfig.env, {
58
- [cypressConfigRunFlag]: true
62
+ [exports.cypressConfigRunFlag]: true
59
63
  });
60
64
  }
61
65
  on('task', {
@@ -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;AAE7C,MAAM,WAAW,GAAG,IAAA,wBAAc,EAAC,mBAAmB,CAAC,CAAA;AAEvD,MAAM,oBAAoB,GAAG,kCAAkC,CAAA;AAQxD,MAAM,aAAa,GAAG,CAC3B,MAA6C,EACtB,EAAE;;IACzB,MAAM,EAAE,GAAG,EAAE,GAAG,UAAU,EAAE,GAAG,MAAM,CAAA;IACrC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC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AAC,SAAS,CAAC,CAAA;gBAEjC,OAAO,mBAAmB,CAAA;YAC5B,CAAC;SACF;KACF,CAAA;AACH,CAAC,CAAA;AAtJY,QAAA,aAAa,iBAsJzB"}
@@ -2,7 +2,8 @@
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
- let isStopped = false;
5
+ const cypressConfigAutoAnalyzeFlag = '__AXE_WATCHER_AUTO_ANALYZE';
6
+ let isStopped = !Cypress.env(cypressConfigAutoAnalyzeFlag);
6
7
  exports.WRAPPED_COMMANDS = [
7
8
  'blur',
8
9
  'check',
@@ -75,7 +76,7 @@ Cypress.Commands.addQuery('__axeRestoreSubject', function (subjectChain, timeout
75
76
  return () => cy.getSubjectFromChain(subjectChain);
76
77
  });
77
78
  function axeWatcherFlushCommand() {
78
- logDebugAxeWatcher({ message: 'Flush: Invoked (may analyze implicitly)' });
79
+ logDebugAxeWatcher({ message: 'Flush: Invoked' });
79
80
  cy.window().then(win => {
80
81
  if (!shouldAnalyzeLocation(win.location)) {
81
82
  return Promise.resolve();
@@ -92,7 +93,9 @@ function axeWatcherFlushCommand() {
92
93
  };
93
94
  win.addEventListener('axe:flush-end', onFlushEnd);
94
95
  win.addEventListener('axe:result', onAxeResult);
95
- const event = new CustomEvent('axe:flush-start');
96
+ const event = new CustomEvent('axe:flush-start', {
97
+ detail: { isStopped }
98
+ });
96
99
  win.dispatchEvent(event);
97
100
  }).then(results => {
98
101
  cy.task('__uploadAxeWatcherResults', { results }, { log: false });
@@ -103,22 +106,31 @@ function axeWatcherFlushCommand() {
103
106
  const doesCypressCommandExist = (commandName) => {
104
107
  return !!Cypress.cy[commandName];
105
108
  };
106
- function axeWatcherAnalyzeCommand({ __Method, __UserRequestedAnalyze = true } = {}) {
109
+ function axeWatcherAnalyzeCommand(subject, { __Method, __UserRequestedAnalyze = true } = {}) {
110
+ const userRequestedAnalyze = __UserRequestedAnalyze;
111
+ const message = userRequestedAnalyze
112
+ ? 'User requested analysis'
113
+ : `Invoked${__Method ? ` - ${__Method}` : ''}`;
107
114
  logDebugAxeWatcher({
108
- message: `Analyze: Invoked${__Method ? ` - ${__Method}` : ''}`
115
+ message: `Analyze: ${message}`
109
116
  });
110
- const userRequestedAnalyze = __UserRequestedAnalyze;
111
117
  cy.window().then(win => {
112
118
  if (!shouldAnalyzeLocation(win.location)) {
113
- return Promise.resolve({ message: `Skipped - Invalid protocol` });
119
+ logDebugAxeWatcher({
120
+ message: `Analyze: Skipped - invalid protocol`
121
+ });
122
+ return Promise.resolve({ message: `Skipped - Invalid protocol`, subject });
114
123
  }
115
124
  if (isStopped && !userRequestedAnalyze) {
116
- return Promise.resolve({ message: `Skipped (Manual mode)` });
125
+ logDebugAxeWatcher({
126
+ message: `Analyze: Skipped - manual mode`
127
+ });
128
+ return Promise.resolve({ message: `Skipped (Manual mode)`, subject });
117
129
  }
118
130
  return new Promise(resolve => {
119
131
  const fn = (event) => {
120
132
  win.removeEventListener('axe:manual-mode-analyze-done', fn);
121
- resolve(event.detail);
133
+ resolve({ message: event.detail.message, subject });
122
134
  };
123
135
  win.addEventListener('axe:manual-mode-analyze-done', fn);
124
136
  const event = new CustomEvent('axe:manual-mode-analyze', {
@@ -127,53 +139,32 @@ function axeWatcherAnalyzeCommand({ __Method, __UserRequestedAnalyze = true } =
127
139
  win.dispatchEvent(event);
128
140
  }).then(result => {
129
141
  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
+ }
130
145
  });
131
146
  });
132
147
  }
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
- });
148
+ function axeWatcherStartCommand(subject) {
149
+ cy.window().then(() => {
150
+ isStopped = false;
151
+ return Promise.resolve(subject);
149
152
  });
150
153
  }
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
- });
154
+ function axeWatcherStopCommand(subject) {
155
+ cy.window().then(() => {
156
+ isStopped = true;
157
+ return Promise.resolve(subject);
167
158
  });
168
159
  }
169
160
  if (!doesCypressCommandExist('axeAnalyze')) {
170
- Cypress.Commands.add('axeAnalyze', axeWatcherAnalyzeCommand);
161
+ Cypress.Commands.add('axeWatcherAnalyze', { prevSubject: 'optional' }, axeWatcherAnalyzeCommand);
171
162
  }
172
163
  Cypress.Commands.add('axeFlush', axeWatcherFlushCommand);
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);
164
+ Cypress.Commands.add('axeStop', { prevSubject: 'optional' }, axeWatcherStopCommand);
165
+ Cypress.Commands.add('axeStart', { prevSubject: 'optional' }, axeWatcherStartCommand);
166
+ Cypress.Commands.add('axeWatcherAnalyze', { prevSubject: 'optional' }, axeWatcherAnalyzeCommand);
167
+ Cypress.Commands.add('axeWatcherStart', { prevSubject: 'optional' }, axeWatcherStartCommand);
168
+ Cypress.Commands.add('axeWatcherStop', { prevSubject: 'optional' }, axeWatcherStopCommand);
178
169
  Cypress.Commands.add('axeWatcherFlush', axeWatcherFlushCommand);
179
170
  //# 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;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,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