-
Notifications
You must be signed in to change notification settings - Fork 660
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
[TestingCodelab] (Optional Exercise): How to access state in RallyApp #238
Comments
This Worked for me fun rallyTopAppBarTest_tabSelectionChangesSelectedScreen() {
|
@gagandeep3458
|
@juyeop03
|
@gagandeep3458 Thank you. I have enhanced your solution to handle any combination of screens:
|
This is weird - I'm doing the following:
assertEquals is true, but the assertIsSelected fails. |
@ambageo ,
I might be wrong, but, this is my first guess. |
Hi, in the hints for Step 7, it says
I looked at the implementation of
RallyApp
, and I can see that the state is stored inside the component, so I don't know how I can access it to assert on its value.Am I supposed to modify the
RallyApp
component to move the state elsewhere, and if so, where? In a ViewModel?The text was updated successfully, but these errors were encountered: