-
Notifications
You must be signed in to change notification settings - Fork 150
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
checking the initial state of app with progressbar #264
Comments
Hi @TheReprator! |
As you can see in logs
As advice: U starting |
Ok, but it will be great, if you can further assist me with my code, as i had already put idealregistery in my code. But still it didn't wait for it. |
@TheReprator can we close this issue? |
Can we put an effort on it, to sort this issue, i know, it might not be related to this framework, but as a developer i need ur assistance to sort this issue out. |
Even after chaniging my code to this, `package reprator.wipro.factlist.test import androidx.test.espresso.IdlingRegistry @HiltAndroidTest
} is not working` |
@TheReprator as I mentioned before, for investigation you can use any sort of tooling such as Debugger or etc. We maintaining those OSS project on volunteered intensions and unfortunately we don't have time capacity to help you with this issue. However, you can try to create a ticket on StackOverFlow for further assistance from open source community. The samples of your code don't tell me nothing about issue and I can't see the whole problem. Because it can be lack of implementation on ANY layer If you decided to use our framework that's doesn't means that we will assist you with any problem in your code. You always can roll back to pure Espresso Also "As a developer" - you should investigate the root of issue. Please don't be obsessive. Cheers. |
Hi Team,
Actually i am trying to test the initial state of app, where app is in loading state but whenever i run the test in throws me following error, as follows,
Exception:
junit.framework.AssertionFailedError: 'is displayed on the screen to the user' doesn't match the selected view.
Expected: is displayed on the screen to the user
Got: "ProgressBar{id=2131230934, res-name=lee_progress, visibility=GONE, width=96, height=96, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=true, is-selected=false, layout-params=android.widget.FrameLayout$LayoutParams@f29348d, tag=null, root-is-layout-requested=false, has-input-connection=false, x=312.0, y=676.0}"
Caused by: junit.framework.AssertionFailedError: 'is displayed on the screen to the user' doesn't match the selected view.
Expected: is displayed on the screen to the user
Got: "ProgressBar{id=2131230934, res-name=lee_progress, visibility=GONE, width=96, height=96, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=true, is-selected=false, layout-params=android.widget.FrameLayout$LayoutParams@f29348d, tag=null, root-is-layout-requested=false, has-input-connection=false, x=312.0, y=676.0}"
Repository:
https://github.com/TheReprator/Wipro/blob/initial_state_test/appModules/factList/src/androidTest/kotlin/reprator/wipro/factlist/test/FactListKaspressoTest.kt
Test Name: initialScreenTest
Kindly assist.
Regards,
Vikram Singh
The text was updated successfully, but these errors were encountered: