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

Espresso Tests for Survey Toolbar Failing on CircleCI #492

Open
Chinex-Boroja opened this issue Jun 6, 2024 · 2 comments
Open

Espresso Tests for Survey Toolbar Failing on CircleCI #492

Chinex-Boroja opened this issue Jun 6, 2024 · 2 comments

Comments

@Chinex-Boroja
Copy link

Description for PR-179

The Espresso tests for the survey toolbar (testSettingsMenuItem and testSyncMenuItem) are failing on CircleCI due to NoMatchingViewException. These tests are currently annotated with @Ignore to allow other tests to pass.

The tests are in org.opendatakit.survey.logic.TestMainMenuActivity and these are the failure descriptions in CircleCI:

  • testSettingsMenuItem: androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: view.getId() is <2131361857/org.opendatakit.survey:id/action_settings>
  • testSyncMenuItem: androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: view.getId() is <2131361858/org.opendatakit.survey:id/action_sync>

Next Steps

Although the test checks if the Intent is properly formed, further investigation is needed to determine if it might be bug related issue.

  • Investigate why NoMatchingViewException is being thrown.
  • Fix the root cause and remove the @Ignore annotations from the tests.
@muskan2622
Copy link

Hey Can you assign me this issue?

@Redeem-Grimm-Satoshi
Copy link
Member

@muskan2622 You can go ahead

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

No branches or pull requests

3 participants