Document `assertPathEndsWith()` and `assertPathContains()` (#9582)
* Document `assertPathEndsWith()` * Document `assertPathContains()`
This commit is contained in:
parent
9910299e9f
commit
ca2571cb8a
16
dusk.md
16
dusk.md
|
@ -1184,6 +1184,8 @@ Dusk provides a variety of assertions that you may make against your application
|
|||
[assertPortIs](#assert-port-is)
|
||||
[assertPortIsNot](#assert-port-is-not)
|
||||
[assertPathBeginsWith](#assert-path-begins-with)
|
||||
[assertPathEndsWith](#assert-path-ends-with)
|
||||
[assertPathContains](#assert-path-contains)
|
||||
[assertPathIs](#assert-path-is)
|
||||
[assertPathIsNot](#assert-path-is-not)
|
||||
[assertRouteIs](#assert-route-is)
|
||||
|
@ -1322,6 +1324,20 @@ Assert that the current URL path begins with the given path:
|
|||
|
||||
$browser->assertPathBeginsWith('/home');
|
||||
|
||||
<a name="assert-path-ends-with"></a>
|
||||
#### assertPathEndsWith
|
||||
|
||||
Assert that the current URL path ends with the given path:
|
||||
|
||||
$browser->assertPathEndsWith('/home');
|
||||
|
||||
<a name="assert-path-contains"></a>
|
||||
#### assertPathContains
|
||||
|
||||
Assert that the current URL path contains the given path:
|
||||
|
||||
$browser->assertPathContains('/home');
|
||||
|
||||
<a name="assert-path-is"></a>
|
||||
#### assertPathIs
|
||||
|
||||
|
|
Loading…
Reference in New Issue