Skip to content

Commit

Permalink
testapi: Improve documentation for "wait_screen_change" (os-autoinst#943
Browse files Browse the repository at this point in the history
  • Loading branch information
okurz authored and Mno-hime committed Aug 23, 2018
1 parent 625f17e commit 59a9af1
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 59a9af1

Please sign in to comment.