You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/backward-incompatible-changes.md
+15-8Lines changed: 15 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -57,9 +57,11 @@ Here's how you can upgrade tests:
57
57
58
58
**Reason**: `executeInSelenium` and `performOn` allowed custom PHP code to be written inline inside of XML files which was difficult to maintain, troubleshoot, and modify.
59
59
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**:
61
61
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.
**Action**: `pauseExecution` is removed in favor of `pause`.
90
93
91
94
**Reason**: `[WebDriver]pauseExecution` is removed in Codeception 3 in favor of `I->pause()`.
92
95
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.
94
99
```xml
95
100
<pausestepKey="pauseExecutionKey"/>
96
101
```
@@ -113,7 +118,9 @@ New usage:
113
118
114
119
**Reason**: PHPUnit 9 has dropped support for optional parameters for `assertEquals` and `assertNotEquals` and has introduced these new assertions.
115
120
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.
117
124
118
125
### `assertContains` supports only iterable haystacks
119
126
@@ -125,7 +132,9 @@ New usage:
125
132
126
133
**Reason**: With PHPUnit 9, `assertContains` and `assertNotContains` only allows iterable haystacks. New assertions have been introduced to support string haystacks.
127
134
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.
129
138
130
139
Usage example for string haystacks:
131
140
```xml
@@ -141,11 +150,9 @@ Usage example for string haystacks:
141
150
142
151
**Reason**: PHP 7.4 has deprecated use of `formatMoney`.
143
152
144
-
**Description**: Format input to specified currency according to the locale specified.
153
+
**Details**: Format input to specified currency according to the locale specified.
0 commit comments