Explorar o código

update special attrs for selected by findSelector

M Gilang Januar %!s(int64=3) %!d(string=hai) anos
pai
achega
ea9a1920c6
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/lib/findSelector.js

+ 2 - 1
src/lib/findSelector.js

@@ -1,6 +1,7 @@
 import { finder as finderLib } from '@medv/finder';
 
-const ariaAttrs = ['aria-label', 'aria-labelledby'];
+// const ariaAttrs = ['aria-label', 'aria-labelledby'];
+const ariaAttrs = ['data-testid'];
 
 export const finder = finderLib;