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

Mobile: Flaky unit test #63665

Open
Mamaduka opened this issue Jul 17, 2024 · 2 comments
Open

Mobile: Flaky unit test #63665

Mamaduka opened this issue Jul 17, 2024 · 2 comments
Labels
Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Type] Bug An existing feature does not function as intended

Comments

@Mamaduka
Copy link
Member

Mamaduka commented Jul 17, 2024

The following React Native test seems to be flaky - Gutenberg Editor Rendering Media Blocks test > should be able to render blocks correctly.

It usually passed after restarting the tests.

cc @WordPress/native-mobile

Test file: packages/react-native-editor/__device-tests__/gutenberg-editor-rendering-media-blocks.test.js.
Failed run:

Screenshot

CleanShot 2024-07-17 at 17 44 26

@Mamaduka Mamaduka added [Type] Bug An existing feature does not function as intended Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) labels Jul 17, 2024
@dcalhoun
Copy link
Member

Noting that this flaky test outcome appears to also occur for other tests as well, not just the media blocks test suite. I have observed the flaky failure in both the "text" and "other" blocks test suites. My presumption is that it stems from poor performance, which is more common on emulators run on the CI server.

Apologies for any disruption these flaky tests cause for contributors. We appreciate your patience. The mobile team is currently focused on different areas at this time, I am uncertain as to when we will improve the E2E test stability on Android.

cc @geriux

@Mamaduka
Copy link
Member Author

Thanks for the update, @dcalhoun!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants