瀏覽代碼

update special attrs for selected by findSelector

M Gilang Januar 3 年之前
父節點
當前提交
ea9a1920c6
共有 1 個文件被更改,包括 2 次插入1 次删除
  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;