-
Notifications
You must be signed in to change notification settings - Fork 557
Test for all Sections Displayed in Correct Order #5853
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
base: develop
Are you sure you want to change the base?
Conversation
@itsadityaaaaa, please look at the failing checks. |
@adhiamboperes I am working in the issue |
@adhiamboperes Is I have to take approval each time to run the workflow? |
@itsadityaaaaa since you are a first time contributor yes, but this wont be required in your subsequent PRs. You can run the checks locally in the meantime. Please see: https://github.com/oppia/oppia-android/wiki/Static-Analysis-Checks#how-to-run-static-checks-locally |
@adhiamboperes can you please re approve the workflow run |
Hi @itsadityaaaaa, can we help with anything on this PR? |
Hi @adhiamboperes thank you for asking, actually I'm unable to resolve all the failing test due to my limited understanding in this project and also I'm unable to run all the tests in local environment it will be great if you could help |
@itsadityaaaaa, thanks for letting us know. @subhajitxyz can give you pointers on how to write a UI test (which screens to look at and sample tests), and you can create a new github discussion describing the issues you are facing while running tests locally. We'll be able to help. |
@subhajitxyz It will be very helpful if you can provide me pointer on how to write UI test and run all the unit and other tests in local environment. |
@itsadityaaaaa, there are instructions here: https://github.com/oppia/oppia-android/wiki/Installing-Oppia-Android#set-up-and-run-tests and https://github.com/oppia/oppia-android/wiki/Bazel-User-Guide#installation. If you are facing issues with these wiki instructions, let us know. |
Hi @itsadityaaaaa , For writing and learning UI tests, you can start by checking out In the app, you can play any exploration and see content, feedback, input fields, buttons—everything is displayed using the state_recycler_view. You can go through Here are some example tests for better understanding:
Guide for writing tests: link To run tests on your local machine, you can follow this guide: If you face any issues, feel free to reach out to me. |
@adhiamboperes @subhajitxyz Thank you, for your suggestion I will try all this stuff soon and come to you guys if encountered any other issue, Once again a big thank you for this. |
Hi @itsadityaaaaa, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. If no further activity occurs within 7 days, it will be automatically closed so that others can take up the issue. |
Hi @itsadityaaaaa, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. If no further activity occurs within 7 days, it will be automatically closed so that others can take up the issue. |
Explanation
This PR create test to check the UI content is correct in portrait, Landscape and Tablet view
Essential Checklist