File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1184,6 +1184,8 @@ Dusk provides a variety of assertions that you may make against your application
1184
1184
[ assertPortIs] ( #assert-port-is )
1185
1185
[ assertPortIsNot] ( #assert-port-is-not )
1186
1186
[ assertPathBeginsWith] ( #assert-path-begins-with )
1187
+ [ assertPathEndsWith] ( #assert-path-ends-with )
1188
+ [ assertPathContains] ( #assert-path-contains )
1187
1189
[ assertPathIs] ( #assert-path-is )
1188
1190
[ assertPathIsNot] ( #assert-path-is-not )
1189
1191
[ assertRouteIs] ( #assert-route-is )
@@ -1322,6 +1324,20 @@ Assert that the current URL path begins with the given path:
1322
1324
1323
1325
$browser->assertPathBeginsWith('/home');
1324
1326
1327
+ <a name =" assert-path-ends-with " ></a >
1328
+ #### assertPathEndsWith
1329
+
1330
+ Assert that the current URL path ends with the given path:
1331
+
1332
+ $browser->assertPathEndsWith('/home');
1333
+
1334
+ <a name =" assert-path-contains " ></a >
1335
+ #### assertPathContains
1336
+
1337
+ Assert that the current URL path contains the given path:
1338
+
1339
+ $browser->assertPathContains('/home');
1340
+
1325
1341
<a name =" assert-path-is " ></a >
1326
1342
#### assertPathIs
1327
1343
You can’t perform that action at this time.
0 commit comments