Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add data-cy prop #3643

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Add data-cy prop #3643

wants to merge 7 commits into from

Conversation

amanmahajan7
Copy link
Contributor

@amanmahajan7 amanmahajan7 commented Nov 22, 2024

Looks like this can be useful. I tried to allow any data-attributes but that can be error prone as spreading props in general is not safe

@amanmahajan7 amanmahajan7 self-assigned this Nov 22, 2024
Copy link

codecov bot commented Nov 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.35%. Comparing base (3e8fe45) to head (0c9cce3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3643      +/-   ##
==========================================
+ Coverage   91.23%   91.35%   +0.12%     
==========================================
  Files          48       48              
  Lines        3455     3457       +2     
  Branches      681      669      -12     
==========================================
+ Hits         3152     3158       +6     
+ Misses        303      299       -4     
Files with missing lines Coverage Δ
src/DataGrid.tsx 88.67% <100.00%> (-3.47%) ⬇️

... and 11 files with indirect coverage changes

---- 🚨 Try these New Features:

@amanmahajan7 amanmahajan7 changed the title Add support for specifying data attributes <del>Add support for specifying data attributes</del> Nov 22, 2024
@amanmahajan7 amanmahajan7 changed the title <del>Add support for specifying data attributes</del> Add data-cy prop Nov 22, 2024
@amanmahajan7 amanmahajan7 marked this pull request as ready for review November 22, 2024 22:06
Copy link
Contributor

@nstepien nstepien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this for cypress?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants