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

Delay parameter for tap() method #2375

Open
andriiShutov opened this issue Oct 16, 2024 · 0 comments
Open

Delay parameter for tap() method #2375

andriiShutov opened this issue Oct 16, 2024 · 0 comments
Labels
feature New feature request

Comments

@andriiShutov
Copy link

Use case

Sometimes Patrol is too fast. It would be great to have a config setting for a static delay before the tap() action. There 2 reasons for this:

  1. Sometimes the application does not respond to very fast actions and the tap method is ignored
  2. While watching the execution of the test, I do not have time to understand what exactly is happening during its execution

Proposal

PatrolTesterConfig would be great for new parameter

const PatrolTesterConfig({
this.existsTimeout = const Duration(seconds: 10),
this.visibleTimeout = const Duration(seconds: 10),
this.settleTimeout = const Duration(seconds: 10),
this.settlePolicy = SettlePolicy.trySettle,
this.dragDuration = const Duration(milliseconds: 100),
this.settleBetweenScrollsTimeout = const Duration(seconds: 5),
this.tapTimeout = const Duration(milliseconds: 0),
});

@Kendru98 Kendru98 added the feature New feature request label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

2 participants