Recognizing data tags
See original GitHub issuehello
Not entirely sure where to post this, but I’m running into an issue where I can’t seem to use this in my project, as the navigation’s classes are mostly generic.
I’ve added a few data tags to be able to test this manually however it’d be pretty cool if there was a way for the extension to recognize this.
Example html:
<div class="menu-login" data-cy="my-button">
<dev-extreme-wrapper>
<dev-extreme-button class="some-generic-class"></dev-extreme-button>
</dev-extreme-wrapper>
</div>
the test recorder is trying to do:
cy.get(‘.some-generic-class’).click();
whereas I’d expect:
cy.get(‘[data-cy=my-button]’)
I could change this manually of course, but I’m wondering whether it’s possible to include the option for the extension to recognize any data-x tag when it is recording.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Best Practices for Data Tagging, Data Classification & Data ...
Data classification can be broadly defined as the process of organizing and tagging data by categories so that collected data may be used ......
Read more >4 data tagging best practices - SAS Blogs
4 data tagging best practices · Standardize the tags · Use all applicable tags · Don't over-tag · Re-evaluate tags over time ·...
Read more >Data tracing vs. data tagging - Cyberhaven
Today's data tagging is opaque. It usually starts with a discovery phase where a tool will crawl throughout various data repositories deemed to ......
Read more >Meta Tags and Attributes that Google Supports | Documentation
Google supports both page-level meta tags and tag attributes. Explore a list of the special tags that Google Search can support.
Read more >Description of the Smart Tags in Word - Microsoft Support
When Word recognizes types of data, the data is marked with a Smart Tag indicator, or purple dotted underline. To find out what...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just adding some support to this. A setting that allows to give some priority to specific data tags would be great!
PR From @estruyf has added support for data-cy, data-test, and data-testid attributes. Will work on ability to customize!