Hi Team,
I am trying to setup my expresso test integration for our instrumentation tests on android and I am getting this error while executing gradle command to trigger the tests on browserstack:
gradle v8.2
browserstack-gradle-plugin v3.1.3
./gradlew clean executeDebugTestsOnBrowserstack
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':rightmove-app:executeDebugTestsOnBrowserstack' (type 'EspressoTask').
- In plugin 'com.browserstack.gradle' type 'com.browserstack.gradle.EspressoTask' property 'host' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
For more information, please refer to https://docs.gradle.org/8.2/userguide/validation_problems.html#missing_annotation in the Gradle documentation.
Below is my browserstack.jason file:
{
"devices": ["Samsung Galaxy S23-13.0"],
"project": "TestEspressoGradleBuild",
"deviceLogs": true,
"networkLogs": false,
"allowDeviceMockServer": true,
"video": true,
"singleRunnerInvocation": true,
"disableAnimations": true
}
Please help me resolve this issue
Hi Team,
I am trying to setup my expresso test integration for our instrumentation tests on android and I am getting this error while executing gradle command to trigger the tests on browserstack:
gradle v8.2
browserstack-gradle-plugin v3.1.3
./gradlew clean executeDebugTestsOnBrowserstackBelow is my browserstack.jason file:
Please help me resolve this issue