Skip to content

Commit

Permalink
Document assertInputPresent and assertInputMissing (#7226)
Browse files Browse the repository at this point in the history
The `assertInputPresent` and `assertInputMissing` assertions were added in laravel/dusk#914
  • Loading branch information
SjorsO authored Aug 9, 2021
1 parent 9dd7fc9 commit 59ea7d5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions dusk.md
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,8 @@ Dusk provides a variety of assertions that you may make against your application
[assertPresent](#assert-present)
[assertNotPresent](#assert-not-present)
[assertMissing](#assert-missing)
[assertInputPresent](#assert-input-present)
[assertInputMissing](#assert-input-missing)
[assertDialogOpened](#assert-dialog-opened)
[assertEnabled](#assert-enabled)
[assertDisabled](#assert-disabled)
Expand Down Expand Up @@ -1324,6 +1326,20 @@ Assert that the element matching the given selector is not visible:

$browser->assertMissing($selector);

<a name="assert-input-present"></a>
#### assertInputPresent

Assert that an input with the given name is present:

$browser->assertInputPresent($name);

This comment has been minimized.

Copy link
@u01jmg3

u01jmg3 Aug 10, 2021

Contributor

Should this be $field like you have in the code?

<a name="assert-input-missing"></a>
#### assertInputMissing

Assert that an input with the given name is not present in the source:

$browser->assertInputMissing($name);

<a name="assert-dialog-opened"></a>
#### assertDialogOpened

Expand Down

0 comments on commit 59ea7d5

Please sign in to comment.