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

Apache License 2.0
71 stars 83 forks source link

Test the Cupcake app: Android Basics with Compose #83

Open alghe-global opened 8 months ago

alghe-global commented 8 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#3

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

Describe the problem

In CupcakeScreenNavigationTest.kt, create a test rule using createAndroidComposeRule and passing ComponentActivity as the type parameter.

to

In CupcakeScreenNavigationTest.kt file, create a test rule using createAndroidComposeRule and passing ComponentActivity as the type parameter.

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.