google-developer-training / basic-android-kotlin-compose-training-cupcake

Apache License 2.0
73 stars 94 forks source link

Test the Cupcake app: Android Basics with Compose #102

Closed ghost closed 4 months ago

ghost commented 5 months ago

URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-compose-test-cupcake?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-4-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-test-cupcake#4

In which task and step of the codelab can this issue be found? every step

Describe the problem bro why you did not told us in the first place that we are going to create a dummy environment and match the string value from the screen to the expected value for the UI test , like every line of code I write from looking at code lab it feel like - " I don't know what and why I am doing this " the only thing that I know is I am writing UI test ,, it is like I am making dinner and I made it but I did not knew whole time what exactly I was making , and at the end I somehow get that I was making a potato curry

Steps to reproduce?

  1. Go to...
  2. Click on...
  3. See error...

Versions Android Studio version: API version of the emulator:

Additional information Include screenshots if they would be useful in clarifying the problem.