File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -319,9 +319,8 @@ class PageCest
319
319
## Before/After Attributes
320
320
321
321
You can control execution flow with ` #[Before] ` and ` #[After] ` attributes. You may move common actions
322
- into protected (non-test) methods and invoke them before or after the test method by putting them into attributes.
323
- It is possible to invoke several methods by using more than one ` #[Before] ` or ` #[After] ` attribute.
324
- Methods are invoked in order from top to bottom.
322
+ into protected (i.e. non-test) methods and invoke them before or after the test method by putting them into attributes.
323
+ When adding multiple ` #[Before] ` or ` #[After] ` attributes, methods are invoked in order from top to bottom.
325
324
326
325
``` php
327
326
<?php
@@ -364,7 +363,7 @@ class ModeratorCest {
364
363
365
364
### Dependencies
366
365
367
- With the ` Depends ` attribute, you can specify a test that should be passed before the current one.
366
+ With the ` #[ Depends] ` attribute, you can specify a test that should be passed before the current one.
368
367
If that test fails, the current test will be skipped. You should pass the method name of the test you are relying on.
369
368
370
369
``` php
You can’t perform that action at this time.
0 commit comments