Skip to content

Commit

Permalink
testapi: Improve documentation for "wait_screen_change"
Browse files Browse the repository at this point in the history
  • Loading branch information
okurz committed Apr 12, 2018
1 parent 3ca7dc3 commit 3af2963
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions testapi.pm
Original file line number Diff line number Diff line change
Expand Up @@ -459,9 +459,11 @@ sub assert_and_dclick {
wait_screen_change(CODEREF [,$timeout [, similarity_level => 50]]);
Wrapper around code that is supposed to change the screen.
This is the opposite to C<wait_still_screen>. Make sure to put the commands to change the screen
within the block to avoid races between the action and the screen change.
Wrapper around code that is supposed to change the screen. This is the
opposite to C<wait_still_screen>. Make sure to put the commands to change the
screen within the block to avoid races between the action and the screen
change. C<wait_screen_change> waits for a screen change after C<CODEREF> was
executed.
Example:
Expand Down

0 comments on commit 3af2963

Please sign in to comment.