maestro: UNKNOWN: Unexpected error in RPC handling

com.github.michaelbull.result.UnwrapException: kotlin.Unit io.grpc.StatusRuntimeException: UNKNOWN: Unexpected error in RPC handling
        at maestro.drivers.IOSDriver.contentDescriptor(IOSDriver.kt:149)
        at maestro.ViewHierarchy$Companion.from-c1iYVAs(ViewHierarchy.kt:28)
        at maestro.Maestro.viewHierarchy-prqvCes(Maestro.kt:228)
        at maestro.orchestra.Orchestra.findElement(Orchestra.kt:257)
        at maestro.orchestra.Orchestra.findElement$default(Orchestra.kt:243)
        at maestro.orchestra.Orchestra.tapOnElement(Orchestra.kt:216)
        at maestro.orchestra.Orchestra.executeCommand(Orchestra.kt:120)
        at maestro.orchestra.Orchestra.executeCommands(Orchestra.kt:107)
        at maestro.orchestra.Orchestra.runFlow(Orchestra.kt:69)
        at maestro.orchestra.Orchestra.runInitFlow(Orchestra.kt:79)
        at maestro.cli.runner.MaestroCommandRunner.runCommands(MaestroCommandRunner.kt:91)
        at maestro.cli.runner.TestRunner$runSingle$result$1.invoke(TestRunner.kt:32)
        at maestro.cli.runner.TestRunner$runSingle$result$1.invoke(TestRunner.kt:29)
        at maestro.cli.runner.TestRunner.runCatching(TestRunner.kt:116)
        at maestro.cli.runner.TestRunner.runSingle(TestRunner.kt:29)
        at maestro.cli.command.TestCommand.call(TestCommand.kt:60)
        at maestro.cli.command.TestCommand.call(TestCommand.kt:30)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1933)
        at picocli.CommandLine.access$1200(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2326)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2291)
	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2159)
	at picocli.CommandLine.execute(CommandLine.java:2058)
	at maestro.cli.AppKt.main(App.kt:74)
appId: com.test.app
---
- launchApp
- hideKeyboard

# Initial choice screen (sign-in/subscribe)
- tapOn:
    id: "initialscreen_signin_button"

# Login screen
# dies here 
- tapOn:
    id: "username_textfield"
- inputText: me@here.com"
- tapOn:
    id: "password_textfield"
- inputText: "p@$$w0rd"
- tapOn:
    id: "login_continue_button"

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

@jschisler @MarcoCadei @Gruppio @AlessandroSteri We’ve made a lot of improvements on this front especially with the release of the new iOS driver. Can you please try again on the latest and reopen if you are still running into issues? Thanks!