Skip to content

Not able to execute expresso tests using browserstack-gradle-plugin v3.1.3 #72

@TadpelliwarMayur

Description

@TadpelliwarMayur

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions