-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
test: Automate mobile editor tests #53991
Conversation
These are covered by: `packages/block-library/src/social-links/test/edit.native.js`
Assert the fundamental functionality of setting a URL for a Social Link link.
Size Change: 0 B Total Size: 1.51 MB ℹ️ View Unchanged
|
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.
These test cases duplicate other tests.
@@ -23,7 +23,7 @@ function LinkSettingsNavigation( props ) { | |||
isVisible={ props.isVisible } | |||
onClose={ props.onClose } | |||
onDismiss={ props.onDismiss } | |||
testID={ props.testID } | |||
testID="link-settings-navigation" |
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.
I simplified this implementation as I did not believe a unique ID for each test case was notably beneficial.
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.
LGTM. 🚀
These tests were automated in the following: - WordPress/gutenberg#53991 - wordpress-mobile/gutenberg-mobile#6118
These tests were automated in the following: - WordPress/gutenberg#53991 - wordpress-mobile/gutenberg-mobile#6118
What?
Automate testing core block functionality.
Why?
Reduce the likelihood of regressions.
How?
Testing Instructions
n/a
Testing Instructions for Keyboard
n/a
Screenshots or screencast
n/a