-
Notifications
You must be signed in to change notification settings - Fork 368
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
fix: [M3-8686] - fix Buttons data-qa attributes #11035
Conversation
@@ -93,7 +93,7 @@ export const SingleTextFieldForm = React.memo((props: Props) => { | |||
/> | |||
<ActionsPanel | |||
primaryButtonProps={{ | |||
'data-testid': 'Button', | |||
'data-testid': 'button', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is 2/2 of the main changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙌 Thanks @abailly-akamai!
I never noticed the console error, but I have noticed the random uppercased "Button" test ID -- happy to see this change!
@@ -158,7 +158,7 @@ export const Button = React.forwardRef<HTMLButtonElement, ButtonProps>( | |||
color={color} | |||
compactX={compactX} | |||
compactY={compactY} | |||
data-testid={rest['data-testid'] || 'Button'} | |||
data-testid={rest['data-testid'] || 'button'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is 1/2 of the main changes
Coverage Report: ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙏 🚀
Cloud Manager E2E Run #6609
Run Properties:
|
Project |
Cloud Manager E2E
|
Branch Review |
develop
|
Run status |
Passed #6609
|
Run duration | 27m 36s |
Commit |
826c1fb454: fix: [M3-8686] - fix Buttons data-qa attributes (#11035)
|
Committer | Alban Bailly |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
3
|
Pending |
2
|
Skipped |
0
|
Passing |
409
|
View all changes introduced in this branch ↗︎ |
Description 📝
Fixing a console error that has bothered me for a long time!
Changes 🔄
ActionPanel
PrimaryButton
data-qa
attribute inSingleTextfieldForm
How to test 🧪
Reproduction steps
/profile/display
Verification steps
/profile/display
As an Author I have considered 🤔
Check all that apply