Skip to content

Commit 20f5203

Browse files
committed
MQE-2110: MFTF command to pause test execution
1 parent 5831ac5 commit 20f5203

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/commands/mftf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ vendor/bin/mftf codecept:run functional
579579
# Run all tests in functional suite with options
580580
vendor/bin/mftf codecept:run functional --verbose --steps --debug
581581
# Run one test
582-
vendor/bin/mftf codecept:run functional Magento/_generated/default/AdminLoginSuccessfulTestCest
582+
vendor/bin/mftf codecept:run functional Magento/_generated/default/AdminCreateCmsPageTestCest.php --debug
583583
# Run all tests in default group
584584
vendor/bin/mftf codecept:run functional --verbose --steps -g default
585585
```

docs/interactive-pause.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ In short, when a test gets to `$I->pause()` step, it stops and shows a console w
1313
## Generation Time
1414

1515
A `<pause>` action in xml will always be generated into php regardless if `ENABLE_PAUSE=true` is set or not.
16-
However, when `ENABLE_PAUSE=true` is set, an additional`pause()` action will be generated in `_failed()` hook for a test,
16+
However, when `ENABLE_PAUSE=true` is set, an additional `pause()` action will be generated in `_failed()` hook for a test,
1717
so that the test may pause on failure at run time.
1818

1919
## Execution Time
@@ -40,10 +40,6 @@ vendor/bin/mftf run:manifest
4040
vendor/bin/mftf run:failed
4141
```
4242

43-
<div class="bs-callout-warning">
44-
Note: MFTF run command's `--debug` option is different from Codeception `--debug` mode option.
45-
</div>
46-
4743
### MFTF Codecept Run Command
4844

4945
You can also use MFTF's wrapper command to run Codeception directly and activate `Interactive Pause` by passing `--debug` option.
@@ -54,7 +50,11 @@ vendor/bin/mftf codecept:run --debug
5450
```
5551

5652
<div class="bs-callout-warning">
57-
You may want to limit the usage of this Codeception command with arguments and options for `acceptance` only, since it is what is supported by MFTF. You should also change `acceptance` to `functional` when using this command when referring to Codeception documentation.
53+
Note: MFTF run command's `--debug` option is different from Codeception `--debug` mode option.
54+
</div>
55+
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, since it is what is supported by MFTF. You should also change `acceptance` to `functional` when using this command when referring to Codeception documentation.
5858
</div>
5959

6060
## References

0 commit comments

Comments
 (0)