Skip to content

Commit b888492

Browse files
committed
MQE-2110: MFTF command to pause test execution
1 parent e99db41 commit b888492

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/interactive-pause.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Since Codeception 3.0 you can pause execution in any point and enter interactive
66

77
Now this `Interactive Pause` feature is available in MFTF and all you need to do is to set `ENABLE_PAUSE=true` in `.env`.
88

9-
Check it out at [Codeception website][] for documentation and a video to see `Interactive Pause` in action.
9+
Check [pause on codeception.com][] for documentation and a video to see `Interactive Pause` in action.
1010

1111
In short, when a test gets to `$I->pause()` step, it stops and shows a console where you can try all available commands with auto-completion, stash commands, and save screenshot, etc.
1212

@@ -53,6 +53,11 @@ You don't need to set `ENABLE_PAUSE=true` for this command.
5353
vendor/bin/mftf codecept:run --debug
5454
```
5555

56+
<div class="bs-callout-warning">
57+
Note: You may want to limit the usage of this Codeception command with arguments and options for `acceptance` only
58+
since it's what is supported by MFTF. You should also replace `acceptance` to `functional` when using this command when referring to Codeception documentation.
59+
</div>
60+
5661
## References
5762

58-
[Codeception website](https://codeception.com/docs/02-GettingStarted#Interactive-Pause)
63+
[pause on codeception.com](https://codeception.com/docs/02-GettingStarted#Interactive-Pause)

docs/test/actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,7 @@ Attribute|Type|Use|Description
14631463

14641464
### pause
14651465

1466-
See [pause docs on codeception.com](https://codeception.com/docs/02-GettingStarted#Interactive-Pause).
1466+
See usage of `<pause` in [interactive-pause](../interactive-pause.md) and [pause docs on codeception.com](https://codeception.com/docs/02-GettingStarted#Interactive-Pause).
14671467

14681468
Attribute|Type|Use|Description
14691469
---|---|---|---

0 commit comments

Comments
 (0)