Skip to content

Timeout does not seem to be honored #1724

Closed Answered by cambiph
cambiph asked this question in Q&A
Discussion options

You must be logged in to vote

I just found the solution, you can set timeout via Patroltest so this makes the following:

void UITest(
  String description,
  PatrolTesterCallback callback,
) {
  patrolTest(
    description,
    config: testConfig,
    nativeAutomation: true,
    timeout: const Timeout(Duration(seconds: 20)),
    callback,
  );
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cambiph
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant