Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 27, 2022
1 parent 7944ff3 commit e244d63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dusk.md
Original file line number Diff line number Diff line change
@@ -743,9 +743,9 @@ If you just need to pause the test for a given number of milliseconds, use the `

If you need to pause the test only if a given condition is `true`, use the `pauseIf` method:

$browser->pauseIf(App::isProduction(), 1000);
$browser->pauseIf(App::environment('production'), 1000);

If you need to pause the test unless a given condition is `true`, use the `pauseUnless` method:
Likewise, if you need to pause the test unless a given condition is `true`, you may use the `pauseUnless` method:

$browser->pauseUnless(App::environment('testing'), 1000);

0 comments on commit e244d63

Please sign in to comment.