Skip to content

Commit 94737d1

Browse files
authored
Merge pull request #517 from magento/MQE-1463
MQE-1463: Fixes for Suite documentation in devdocs
2 parents 507e26d + 1471d80 commit 94737d1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs/suite.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ Suites are essentially groups of tests that run in the specific conditions (prec
44
They enable you including, excluding, and grouping tests for a customized test run when you need it.
55
You can form suites using separate tests, groups, and modules.
66

7-
Each suite must be defined in the `<magento 2 root>/dev/tests/acceptance/tests/_suite/suite.xml` file.
8-
The generated tests for each suite go into a separate directory under `<magento 2 root>/dev/tests/acceptance/tests/functional/Magento/FunctionalTest/_generated/`.
9-
By default, all generated tests are stored in the _default_ suite under `.../Magento/FunctionalTest/_generated/default/`
7+
Each suite must be defined in the `<VendorName>/<ModuleName>/Test/Mftf/Suite` directory.
8+
9+
The tests for each suite are generated in a separate directory under `<magento 2 root>/dev/tests/acceptance/tests/functional/Magento/FunctionalTest/_generated/`.
10+
All tests that are not within a suite are generated in the _default_ suite at `.../Magento/FunctionalTest/_generated/default/`.
1011

1112
<div class="bs-callout bs-callout-info">
1213
If a test is generated into at least one custom suite, it will not appear in the _default_ suite.
@@ -59,8 +60,6 @@ The code lives in one place and executes once per suite.
5960
- Set up preconditions and postconditions using [actions] in [`<before>`] and [`<after>`] correspondingly, just similar to use in a [test].
6061
- Clean up after suites just like after tests.
6162
The MFTF enforces the presence of both `<before>` and `<after>` if either is present.
62-
- Do not reference in the subsequent tests to data that was persisted in the preconditions.
63-
Referencing to `$stepKey.field$` of these actions is not valid.
6463

6564
## Test writing
6665

0 commit comments

Comments
 (0)