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

Flaky EditCategoriesViewModel tests + undiagnosed Categories and Phrases bug #574

Open
cinadia opened this issue Jun 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cinadia
Copy link
Contributor

cinadia commented Jun 17, 2024

Describe the bug
The 4 tests marked as flaky in EditCategoriesViewModelTest.kt have yet to be resolved. They expose unresolved/un-investigated bugs within the EditCategoriesViewModel.refreshCategories() function. They can cause issues with the "Categories and Phrases" page in Settings after the user adds a new custom Category.

To Reproduce
There is no known way to replicate the bug. I have only been able to produce it once. The majority of the time the bug is not present.

Expected behavior
See #532 for more details on the expected behaviour.

Actual Behavior
Adding a new category will not consistently flip the Categories and Settings page to the newly added category. Occasionally the page will flip correctly. But more often than not, it doesn't. Note, however, that this bug is very hard to reproduce, and most of the time the actual behaviour is correct.

Smartphone (please complete the following information):

  • Device: Pixel 4
  • OS: Android 12
@cinadia cinadia added the bug Something isn't working label Jun 17, 2024
@github-project-automation github-project-automation bot moved this to Ready to select in Vocable-Android Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Ready to select
Development

No branches or pull requests

1 participant