We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7649d2 commit 3ca5bb0Copy full SHA for 3ca5bb0
src/index.js
@@ -1,5 +1,5 @@
1
const getAttributeIdentifiers = options => {
2
- if(!options || typeof(options.attributes) === 'undefined') return ['data-test-id'];
+ if(!options || typeof(options.attributes) === 'undefined') return ['data-test-id', 'data-testid'];
3
4
if(Array.isArray(options.attributes)) {
5
if(options.attributes.length === 0) {
0 commit comments