Skip to content

Commit 05d95db

Browse files
use correct command
1 parent aaa8881 commit 05d95db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accessibility/scanner/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const commandsToOverride = [
1313
const commandsToWrap = ['visit', 'click', 'type', 'request', 'dblclick', 'rightclick', 'clear', 'check', 'uncheck', 'select', 'trigger', 'selectFile', 'scrollIntoView', 'scroll', 'scrollTo', 'blur', 'focus', 'go', 'reload', 'submit', 'viewport', 'origin'];
1414

1515
const performModifiedScan = (originalFn, Subject, stateType, ...args) => {
16-
let customChaining = cy.wrap(null).performScan();
16+
let customChaining = cy.wrap(null).processAccessibilityReport();
1717
const updateSubj = (args, stateType, newSubject) =>
1818
stateType === 'parent' ? args : [newSubject, ...args.slice(1)];
1919

0 commit comments

Comments
 (0)