Skip to content

Commit 7d37bb4

Browse files
authored
Grammatical and formatting fixes
1 parent 76a0892 commit 7d37bb4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/suite.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Suites
22

3-
Suites are essentially groups of tests that run in the specific conditions (preconditions and postconditions).
4-
They enable you including, excluding, and grouping tests for a customized test run when you need it.
3+
Suites are essentially groups of tests that run in specific conditions (preconditions and postconditions).
4+
They enable 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

77
Each suite must be defined in the `<magento 2 root>/dev/tests/acceptance/tests/_suite/suite.xml` file.
@@ -42,12 +42,12 @@ The format of a suite:
4242
## Principles
4343

4444
- A suite name:
45-
- must not match any existing group value.
45+
- must not match any existing group value.
4646
For example, the suite `<suite name="ExampleTest">` will fail during test run if any test contains in annotations `<group value="ExampleTest">`.
47-
- must not be `default` or `skip`. Tests that are not in any suite are generated under the `default` suite.
47+
- must not be `default` or `skip`. Tests that are not in any suite are generated under the `default` suite.
4848
The suite name `skip` is synonymous to including a test in the `<group value="skip"/>`, which will be deprecated in MFTF 3.0.0.
49-
- can contain letters, numbers, and underscores.
50-
- should be upper camel case.
49+
- can contain letters, numbers, and underscores.
50+
- should be upper camel case.
5151
- A suite must contain at least one `<include>`, or one `<exclude>`, or both.
5252
- Using `<before>` in a suite, you must add the corresponding `<after>` to restore the initial state of your testing instance.
5353

@@ -134,7 +134,7 @@ It performs the following steps:
134134
*After* the testing, the suite returns the Magento instance to the initial state disabling WYSIWYG:
135135

136136
1. Log back in.
137-
2. Disable **WYSIWYG** so that
137+
2. Disable **WYSIWYG** in the Magento instance.
138138

139139
This suite includes all tests that contain the `<group value="WYSIWYG"/>` annotation.
140140

@@ -243,11 +243,11 @@ The element can contain [`<test>`], [`<group>`], and [`<module>`].
243243

244244
A set of filters that you can use to specify which tests to exclude in the test suite.
245245

246-
There two types of behavior:
246+
There are two types of behavior:
247247

248248
1. Applying filters to the included tests when the suite contains [`<include>`] filters.
249249
The MFTF will exclude tests from the previously included set and generate the remaining tests in the suite.
250-
2. Applying filter to all tests when the suite does not contain [`<include>`] filters.
250+
2. Applying filters to all tests when the suite does not contain [`<include>`] filters.
251251
The MFTF will generate all existing tests except the excluded.
252252
In this case, the custom suite will contain all generated tests except excluded, and the _default_ suite will contain the excluded tests only.
253253

0 commit comments

Comments
 (0)