-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide internal unfind method to emulate inverse find
This method is needed to separate internal method calls within the region class since certain public methods like `wait` and the previously unfind emulating `wait_vanish` could be overridden while `find` and the resulting `_unfind` are typically not to preserve behaviors from all internal calls by other public region methods. For instance to better illustrate this - consider a case where we would like to catch `FindError` and `NotFindError` exceptions and convert them to test failures or other specialized exceptions. If one overrides `wait` and `wait_vanish` then `click_vanish` or e.g. `press_expect` will not catch the right exception types and guibot will not retry its human-like UI control attempts.
- Loading branch information
Showing
1 changed file
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters