Skip to content

Commit a411c0c

Browse files
committed
MQE-2141: MFTF BIC Documentation
1 parent f11b3f5 commit a411c0c

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

docs/backward-incompatible-changes.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,11 @@ Here's how you can upgrade tests:
5757

5858
**Reason**: `executeInSelenium` and `performOn` allowed custom PHP code to be written inline inside of XML files which was difficult to maintain, troubleshoot, and modify.
5959

60-
**Details**: `helper` will allow test writers to solve advanced requirements beyond what MFTF offers out of the box.[See custom-helpers](./docs/custom-helpers.md) for more information on the usage.
60+
**Details**:
6161

62-
Here's an example of using `helper` instead of `executeSelenium` to achieve same workflow.
62+
`helper` will allow test writers to solve advanced requirements beyond what MFTF offers out of the box.[See custom-helpers](./docs/custom-helpers.md) for more information on the usage.
63+
64+
Here's an example of using `helper` in place of `executeSelenium` to achieve same workflow.
6365

6466
Old usage:
6567
```xml
@@ -84,13 +86,16 @@ New usage:
8486
<argument name="endY">{{TinyMCEPartialHeadingSelection.endY}}</argument>
8587
</helper>
8688
```
89+
8790
### `pauseExecution` removed
8891

8992
**Action**: `pauseExecution` is removed in favor of `pause`.
9093

9194
**Reason**: `[WebDriver]pauseExecution` is removed in Codeception 3 in favor of `I->pause()`.
9295

93-
**Description**: [See actions page for details](./docs/test/actions.md#pause). Here's a usage example.
96+
**Details**:
97+
98+
[See actions page for details](./docs/test/actions.md#pause). Here's a usage example.
9499
```xml
95100
<pause stepKey="pauseExecutionKey"/>
96101
```
@@ -113,7 +118,9 @@ New usage:
113118

114119
**Reason**: PHPUnit 9 has dropped support for optional parameters for `assertEquals` and `assertNotEquals` and has introduced these new assertions.
115120

116-
**Description**: Usages of `assertEquals` or `assertNotEquals` with `delta` specified, should be replaced with appropriate assertion from above list.
121+
**Details**:
122+
123+
Usages of `assertEquals` or `assertNotEquals` with `delta` specified, should be replaced with appropriate assertion from above list.
117124

118125
### `assertContains` supports only iterable haystacks
119126

@@ -125,7 +132,9 @@ New usage:
125132

126133
**Reason**: With PHPUnit 9, `assertContains` and `assertNotContains` only allows iterable haystacks. New assertions have been introduced to support string haystacks.
127134

128-
**Description**: Usages of `assertContains` and `assertNotContains` with string haystacks should be replaced with appropriate assertion from above list.
135+
**Details**:
136+
137+
Usages of `assertContains` and `assertNotContains` with string haystacks should be replaced with appropriate assertion from above list.
129138

130139
Usage example for string haystacks:
131140
```xml
@@ -141,11 +150,9 @@ Usage example for string haystacks:
141150

142151
**Reason**: PHP 7.4 has deprecated use of `formatMoney`.
143152

144-
**Description**: Format input to specified currency according to the locale specified.
153+
**Details**: Format input to specified currency according to the locale specified.
145154

146155
Usage example:
147156
```xml
148157
<formatCurrency userInput="1234.56789000" locale="de_DE" currency="USD" stepKey="usdInDE"/>
149158
```
150-
151-

0 commit comments

Comments
 (0)