Skip to content

Commit

Permalink
Increase Android command timeout to allow for long text input (#2035)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leland-Takamine authored Sep 9, 2024
1 parent 5220d56 commit 87ed1f2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions e2e/workspaces/demo_app/long_input_text.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
appId: com.example.example
tags:
- android
- passing
---
- launchApp:
clearState: true
- tapOn: Form Test
- tapOn: Email
- inputText: veryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryverylongemail@mobile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class AndroidDriver(
.usePlaintext()
.build()
private val blockingStub = MaestroDriverGrpc.newBlockingStub(channel)
private val blockingStubWithTimeout get() = blockingStub.withDeadlineAfter(40, TimeUnit.SECONDS)
private val blockingStubWithTimeout get() = blockingStub.withDeadlineAfter(120, TimeUnit.SECONDS)
private val asyncStub = MaestroDriverGrpc.newStub(channel)
private val documentBuilderFactory = DocumentBuilderFactory.newInstance()

Expand Down

0 comments on commit 87ed1f2

Please sign in to comment.