Skip to content

Commit

Permalink
add documentation for new Dusk assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
browner12 committed Sep 21, 2018
1 parent 46f0adf commit 84636e9
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions dusk.md
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,12 @@ Dusk provides a variety of assertions that you may make against your application
[assertTitle](#assert-title)
[assertTitleContains](#assert-title-contains)
[assertUrlIs](#assert-url-is)
[assertSchemeIs](#assert-scheme-is)
[assertSchemeIsNot](#assert-scheme-is-not)
[assertHostIs](#assert-host-is)
[assertHostIsNot](#assert-host-is-not)
[assertPortIs](#assert-port-is)
[assertPortIsNot](#assert-port-is-not)
[assertPathBeginsWith](#assert-path-begins-with)
[assertPathIs](#assert-path-is)
[assertPathIsNot](#assert-path-is-not)
Expand Down Expand Up @@ -639,6 +645,48 @@ Assert that the current URL (without the query string) matches the given string:

$browser->assertUrlIs($url);

<a name="assert-scheme-is"></a>
#### assertSchemeIs

Assert the current URL scheme matches the given scheme:

$browser->assertSchemeIs($scheme);

<a name="assert-scheme-is-not"></a>
#### assertSchemeIsNot

Assert the current URL scheme does not match the given scheme:

$browser->assertSchemeIsNot($scheme);

<a name="assert-host-is"></a>
#### assertHostIs

Assert the current URL host matches the given host:

$browser->assertHostIs($host);

<a name="assert-host-is-not"></a>
#### assertHostIsNot

Assert the current URL host does not match the given host:

$browser->assertHostIsNot($host);

<a name="assert-port-is"></a>
#### assertPortIs

Assert the current URL port matches the given port:

$browser->assertPortIs($port);

<a name="assert-port-is-not"></a>
#### assertPortIsNot

Assert the current URL port does not match the given port:

$browser->assertPortIsNot($port);

<a name="assert-path-begins-with"></a>
#### assertPathBeginsWith

Expand Down

0 comments on commit 84636e9

Please sign in to comment.