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
Saves a screenshot of each step in acceptance tests and shows them as a slideshow on one HTML page (here's an [example](https://codeception.com/images/recorder.gif))
72
-
Activated only for suites with WebDriver module enabled.
71
+
Saves a screenshot of each step in acceptance tests and shows them as a slideshow on one HTML page (here's an [example](https://codeception.com/images/recorder.gif)).
72
+
Works only for suites with WebDriver module enabled.
73
73
74
74
The screenshots are saved to `tests/_output/record_*` directories, open `index.html` to see them as a slideshow.
75
75
76
76
#### Installation
77
77
78
-
Add this to the list of enabled extensions in `codeception.yml` or `acceptance.suite.yml`:
78
+
Add this to the list of enabled extensions in `codeception.yml` or `Acceptance.suite.yml`:
79
79
80
80
``` yaml
81
81
extensions:
@@ -106,7 +106,7 @@ extensions:
106
106
```
107
107
#### Skipping recording of steps with annotations
108
108
109
-
It is also possible to skip recording of steps for specified tests by using the @skipRecording annotation.
109
+
It is also possible to skip recording of steps for specified tests by using the `@skipRecording` annotation.
110
110
111
111
```php
112
112
/**
@@ -122,7 +122,6 @@ public function testLogin(AcceptanceTester $I)
Can be used to start/stop selenium server, chromedriver, mailcatcher, etc.
190
+
Can be used to start/stop selenium server, chromedriver, [MailCatcher](https://mailcatcher.me/), etc.
191
+
Each command is executed only once, at the beginning of the test suite. To execute a command before each test, see [Before/After Attributes](https://codeception.com/docs/AdvancedUsage#BeforeAfter-Attributes).
192
192
193
-
Can be configured in suite config:
193
+
Can be enabled in suite config:
194
194
195
195
```yaml
196
-
# acceptance.suite.yml
196
+
# Acceptance.suite.yml
197
197
extensions:
198
198
enabled:
199
199
- Codeception\Extension\RunProcess:
@@ -203,8 +203,7 @@ extensions:
203
203
Multiple parameters can be passed as array:
204
204
205
205
```yaml
206
-
# acceptance.suite.yml
207
-
206
+
# Acceptance.suite.yml
208
207
extensions:
209
208
enabled:
210
209
- Codeception\Extension\RunProcess:
@@ -214,8 +213,7 @@ extensions:
214
213
215
214
In the end of a suite all launched processes will be stopped.
216
215
217
-
To wait for the process to be launched use `sleep` option.
218
-
In this case you need configuration to be specified as object:
216
+
To wait for the process to be launched use `sleep` option. In this case you need configuration to be specified as object:
219
217
220
218
```yaml
221
219
extensions:
@@ -226,7 +224,7 @@ extensions:
226
224
sleep: 5 # wait 5 seconds for processes to boot
227
225
```
228
226
229
-
HINT: you can use different configurations per environment.
227
+
HINT: You can use different configurations per environment.
Copy file name to clipboardExpand all lines: changelog.markdown
+29-13Lines changed: 29 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,35 @@ title: Codeception Changelog
9
9
10
10
11
11
12
+
### Codeception 5.2.0: 5.2.0
13
+
14
+
Released by [ TavoNiievez](https://github.com/TavoNiievez) on 2025/02/16 20:31:08 / [Repository](https://github.com/Codeception/Codeception) / [Releases](https://github.com/Codeception/Codeception/releases)
15
+
16
+
17
+
18
+
## What's Changed
19
+
* Fix FAIL message color highlighting by **[antonvolokha](https://github.com/antonvolokha)** in [#6754](https://github.com/Codeception/Codeception/issues/6754)
20
+
* Update the codebase to PHP 8.1 by **[TavoNiievez](https://github.com/TavoNiievez)** in [#6747](https://github.com/Codeception/Codeception/issues/6747)
21
+
* generate:cest: Adding `declare(strict_types=1);` and return type `void` to generated files by **[ThomasLandauer](https://github.com/ThomasLandauer)** in [#6736](https://github.com/Codeception/Codeception/issues/6736)
22
+
* Declare nullable parameter types explicitly by **[W0rma](https://github.com/W0rma)** in [#6774](https://github.com/Codeception/Codeception/issues/6774) , [#6775](https://github.com/Codeception/Codeception/issues/6775)
23
+
* chore: Included githubactions in the dependabot config ([#6471](https://github.com/Codeception/Codeception/issues/6471)) by **[SamMousa](https://github.com/SamMousa)** in [#6783](https://github.com/Codeception/Codeception/issues/6783)
24
+
* Added new option --disable-coverage-php to skip coverage.serialized report by **[adrenalinkin](https://github.com/adrenalinkin)** in [#6761](https://github.com/Codeception/Codeception/issues/6761)
25
+
* chore: add branch alias for main to fix composer install with dev deps by **[SamMousa](https://github.com/SamMousa)** in [#6787](https://github.com/Codeception/Codeception/issues/6787)
26
+
* chore(ci): prevent test CI running twice on PR branches by **[SamMousa](https://github.com/SamMousa)** in [#6788](https://github.com/Codeception/Codeception/issues/6788)
27
+
* Simplify classes by **[TavoNiievez](https://github.com/TavoNiievez)** in [#6767](https://github.com/Codeception/Codeception/issues/6767) , [#6750](https://github.com/Codeception/Codeception/issues/6750) , [#6764](https://github.com/Codeception/Codeception/issues/6764)
28
+
* PHP 8.4: `E_STRICT` deprecation by **[W0rma](https://github.com/W0rma)** in [#6802](https://github.com/Codeception/Codeception/issues/6802)
29
+
* Fix PHP 8.4 deprecation. by **[kagg-design](https://github.com/kagg-design)** in [#6811](https://github.com/Codeception/Codeception/issues/6811)
30
+
* Fix test suite names in bootstrap command by **[W0rma](https://github.com/W0rma)** in [#6813](https://github.com/Codeception/Codeception/issues/6813)
Released by [ Naktibalda](https://github.com/Naktibalda) on 2025/02/14 07:14:37 / [Repository](https://github.com/Codeception/module-webdriver) / [Releases](https://github.com/Codeception/module-webdriver/releases)
@@ -1693,19 +1722,6 @@ Released by [ Naktib
1693
1722
* Uses lib-xml
1694
1723
1695
1724
1696
-
### Codeception 5.0.0-alpha3: 5.0.0-alpha3
1697
-
1698
-
Released by [ Naktibalda](https://github.com/Naktibalda) on 2022/03/11 11:02:50 / [Repository](https://github.com/Codeception/Codeception) / [Releases](https://github.com/Codeception/Codeception/releases)
1699
-
1700
-
1701
-
1702
-
* Support intersection types in actions
1703
-
* Introduced PSR-12 code style
1704
-
* Extracted some code to modules and shared libs
1705
-
* Fixed new incompatibilities with PHPUnit 10
1706
-
1707
-
1708
-
1709
1725
### module-rest 3.1.0: 3.1.0
1710
1726
1711
1727
Released by [ Naktibalda](https://github.com/Naktibalda) on 2022/03/11 11:00:56 / [Repository](https://github.com/Codeception/module-rest) / [Releases](https://github.com/Codeception/module-rest/releases)
0 commit comments