-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Org Screen Tested #1053
base: master
Are you sure you want to change the base?
Org Screen Tested #1053
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making this test. Once you address the comments I can merge this.
app/src/androidTest/java/org/greenstand/android/TreeTracker/orgpicker/FakeOrgITem.kt
Outdated
Show resolved
Hide resolved
Org( | ||
FakeOrgITem.orgitem.id, | ||
FakeOrgITem.orgitem.name, | ||
FakeOrgITem.orgitem.walletId, | ||
FakeOrgITem.orgitem.logoPath, | ||
FakeOrgITem.orgitem.captureSetupFlow, | ||
FakeOrgITem.orgitem.captureFlow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can just pass in the fake item instead of making a new one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
app/src/main/java/org/greenstand/android/TreeTracker/orgpicker/OrgPickerScreen.kt
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,45 @@ | |||
package org.greenstand.android.TreeTracker.orgpicker | |||
|
|||
import androidx.compose.ui.test.* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When trying to run this test locally I couldn't get it working. Were you able to run this test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
app/src/androidTest/java/org/greenstand/android/TreeTracker/orgpicker/OrgPickerScreenKtTest.kt
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The select_organisation string resource could not be resolve
No description provided.