Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] Dusk - document assertSeeAnythingIn() / assertSeeNothingIn() #6667

Merged
merged 2 commits into from
Dec 15, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Document assertSeeAnythingIn() / assertSeeNothingIn()
  • Loading branch information
u01jmg3 committed Dec 15, 2020
commit 6e0662fbc1476cebb3cacbc8e4b05c1ecc90f7e9
16 changes: 16 additions & 0 deletions dusk.md
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,8 @@ Dusk provides a variety of assertions that you may make against your application
[assertDontSee](#assert-dont-see)
[assertSeeIn](#assert-see-in)
[assertDontSeeIn](#assert-dont-see-in)
[assertSeeAnythingIn](#assert-see-anything-in)
[assertSeeNothingIn](#assert-see-nothing-in)
[assertScript](#assert-script)
[assertSourceHas](#assert-source-has)
[assertSourceMissing](#assert-source-missing)
Expand Down Expand Up @@ -1114,6 +1116,20 @@ Assert that the given text is not present within the selector:

$browser->assertDontSeeIn($selector, $text);

<a name="assert-see-anything-in"></a>
#### assertSeeAnythingIn

Assert that the given selector has some text:

$browser->assertSeeAnythingIn($selector);

<a name="assert-see-nothing-in"></a>
#### assertSeeNothingIn

Assert that the given selector has no text:

$browser->assertSeeNothingIn($selector);

<a name="assert-script"></a>
#### assertScript

Expand Down