Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run detox in release mode Android #1005

Closed
MaxToyberman opened this issue Oct 29, 2018 · 1 comment
Closed

Can't run detox in release mode Android #1005

MaxToyberman opened this issue Oct 29, 2018 · 1 comment

Comments

@MaxToyberman
Copy link

MaxToyberman commented Oct 29, 2018

Description

Running in release mode doesn't work

Steps to Reproduce

detox build --configuration android.emu.release
detox test -c android.emu.release

my detox config:

  "detox": {
    "configurations": {
      "android.emu.debug": {
        "binaryPath": "android/app/build/outputs/apk/isracard/debug/app-isracard-debug.apk",
        "build":
        "cd android && ./gradlew assembleIsracardDebug assembleIsracardDebugAndroidTest -DtestBuildType=debug && cd ..",
        "type": "android.emulator",
        "name": "Nexus_6_API_25"
    },
    "android.emu.release": {
        "binaryPath": "android/app/build/outputs/apk/isracard/release/app-isracard-release.apk",
        "build":
        "cd android && ./gradlew assembleIsracardRelease assembleIsracardReleaseAndroidTest -DtestBuildType=release && cd ..",
        "type": "android.emulator",
        "name": "Nexus_6_API_25"
    }
    },
    "test-runner": "jest",
    "runner-config": "e2e/config.json"
  }

Detox, Node, Device, Xcode and macOS Versions

Detox: 9.0.5
React Native: 0.57.3
Node: v10.4.1
Device: Nexus_6_API_25
macOS: Latest mojave

Device and verbose Detox logs

Failed: [Error: Error: No views in hierarchy found matching: (with tag value: is "modalButton" and view has effective visibility=VISIBLE)

@MaxToyberman MaxToyberman changed the title Can't run detox in release mode , Can't run detox in release mode Android Oct 29, 2018
@support
Copy link

support bot commented Oct 29, 2018

We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the detox tag.

@support support bot closed this as completed Oct 29, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Nov 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants