Closed ndeka28 closed 2 years ago
I did solve the problem. It is about where I create the project in a mac machine.
Where is it recommended to create project in mac machine?
Either $user folder/Documents/Downloads/Desktop - I tried these, and it worked
It worked 🎉
Expected behaviour
When I run ./gradlew executeScreenshotTests -Precord , screenshots should be generated
Actual behaviour
I am using Shot version 5.13.0, while trying to run the above command I am getting error
Steps to reproduce
package com.nila.testshot.test
import androidx.test.core.app.ActivityScenario import com.karumi.shot.ActivityScenarioUtils.waitForActivity import com.karumi.shot.ScreenshotTest import com.nila.testshot.MainActivity import org.junit.Test
class ExampleInstrumentedTest : ScreenshotTest{ @Test fun openActivityTest() {
}