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](http://codeception.com/images/recorder.gif))
71
71
Activated only for suites with WebDriver module enabled.
@@ -124,7 +124,7 @@ public function testLogin(AcceptanceTester $I)
Copy file name to clipboardExpand all lines: changelog.markdown
+26
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,32 @@ title: Codeception Changelog
7
7
8
8
# Changelog
9
9
10
+
#### 3.1.1
11
+
12
+
* Preparation for Symfony 5, removes deprecation message when Symfony 4.3 components are used. See [#5670](https://github.com/Codeception/Codeception/issues/5670) by **[Naktibalda](https://github.com/Naktibalda)**
13
+
***[Db]** Support initial queries execution after creating connection. See [#5660](https://github.com/Codeception/Codeception/issues/5660) by **[tadasauciunas](https://github.com/tadasauciunas)**
14
+
15
+
```yml
16
+
Db:
17
+
dsn: # dsn goes hre
18
+
initial_queries:
19
+
- 'CREATE DATABASE IF NOT EXISTS temp_db;'
20
+
- 'USE temp_db;'
21
+
- 'SET NAMES utf8;'
22
+
```
23
+
24
+
* Do not fail steps for `retry` and `tryTo` step decorators. Fixes [#5666](https://github.com/Codeception/Codeception/issues/5666) by **[Mitrichius](https://github.com/Mitrichius)**
25
+
* **[Symfony]** Added `runSymfonyConsoleCommand` by **[wirwolf](https://github.com/wirwolf)**
* **[Doctrine2]** Bugfix: calling `haveInRepository` with preconstructed entity requires providing constructor parameters. See [#5680](https://github.com/Codeception/Codeception/issues/5680) by **[burned42](https://github.com/burned42)**
31
+
* **[Doctrine2]** Make debug message in `haveInRepository` to support entities with composite keys of entities in bidirectional relations. See [#5685](https://github.com/Codeception/Codeception/issues/5685) by Basster. Fixes [#5663](https://github.com/Codeception/Codeception/issues/5663).
32
+
* Adds possibility to use absolute path for `groups` files in `codeception.yml`. [#5674](https://github.com/Codeception/Codeception/issues/5674) by **[maks-rafalko](https://github.com/maks-rafalko)**
33
+
* Fixes the issue with paths in `groups` section when `codeception.yml` is not in the root of the project. [#5674](https://github.com/Codeception/Codeception/issues/5674)) by maks-rafalko.
34
+
* **[Asserts]** `expectException` deprecated in favor of `expectThrowable`.
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/AMQP.php">Help us to improve documentation. Edit module reference</a></div>
287
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/AMQP.php">Help us to improve documentation. Edit module reference</a></div>
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/Apc.php">Help us to improve documentation. Edit module reference</a></div>
134
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/Apc.php">Help us to improve documentation. Edit module reference</a></div>
Copy file name to clipboardExpand all lines: docs/modules/Asserts.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -432,6 +432,7 @@ $I->expectException(new MyException("Don't do bad things"), function() {
432
432
433
433
{% endhighlight %}
434
434
435
+
@deprecated Use expectThrowable() instead
435
436
* `param` $exception string or \Exception
436
437
* `param` $callback
437
438
@@ -474,4 +475,4 @@ Fails the test with message.
474
475
475
476
* `param` $message
476
477
477
-
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/Asserts.php">Help us to improve documentation. Edit module reference</a></div>
478
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/Asserts.php">Help us to improve documentation. Edit module reference</a></div>
Copy file name to clipboardExpand all lines: docs/modules/Cli.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -87,4 +87,4 @@ $I->seeResultCodeIsNot(0);
87
87
88
88
* `param` $regex
89
89
90
-
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/Cli.php">Help us to improve documentation. Edit module reference</a></div>
90
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/Cli.php">Help us to improve documentation. Edit module reference</a></div>
Copy file name to clipboardExpand all lines: docs/modules/DataFactory.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -196,4 +196,4 @@ Returns an instance of created user without creating a record in database.
196
196
197
197
@throws ModuleException
198
198
199
-
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/DataFactory.php">Help us to improve documentation. Edit module reference</a></div>
199
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/DataFactory.php">Help us to improve documentation. Edit module reference</a></div>
* ssl_cipher - list of one or more permissible ciphers to use for SSL encryption (MySQL specific, @seehttp://php.net/manual/de/ref.pdo-mysql.php#pdo.constants.mysql-attr-cipher)
53
53
* databases - include more database configs and switch between them in tests.
54
+
* initial_queries - list of queries to be executed right after connection to the database has been initiated, i.e. creating the database if it does not exist or preparing the database collation
54
55
55
56
### Example
56
57
@@ -70,6 +71,10 @@ if you run into problems loading dumps and cleaning databases.
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/Db.php">Help us to improve documentation. Edit module reference</a></div>
454
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/Db.php">Help us to improve documentation. Edit module reference</a></div>
Copy file name to clipboardExpand all lines: docs/modules/Doctrine2.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -367,4 +367,4 @@ Fails if record for given criteria can\'t be found,
367
367
*`param` $entity
368
368
*`param array` $params
369
369
370
-
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/Doctrine2.php">Help us to improve documentation. Edit module reference</a></div>
370
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/Doctrine2.php">Help us to improve documentation. Edit module reference</a></div>
Copy file name to clipboardExpand all lines: docs/modules/FTP.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -476,4 +476,4 @@ $I->writeToFile('composer.json', 'some data here');
476
476
*`param` $filename
477
477
*`param` $contents
478
478
479
-
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/FTP.php">Help us to improve documentation. Edit module reference</a></div>
479
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/FTP.php">Help us to improve documentation. Edit module reference</a></div>
Copy file name to clipboardExpand all lines: docs/modules/Filesystem.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -225,4 +225,4 @@ Saves contents to file
225
225
*`param string` $filename
226
226
*`param string` $contents
227
227
228
-
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/Filesystem.php">Help us to improve documentation. Edit module reference</a></div>
228
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/Filesystem.php">Help us to improve documentation. Edit module reference</a></div>
<p> </p><div class="alert alert-warning">Module reference is taken from the source code. <a href="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/Laravel5.php">Help us to improve documentation. Edit module reference</a></div>
2205
+
<p> </p><div class="alert alert-warning">Module reference is taken from the source code. <a href="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/Laravel5.php">Help us to improve documentation. Edit module reference</a></div>
<p> </p><div class="alert alert-warning">Module reference is taken from the source code. <a href="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/Lumen.php">Help us to improve documentation. Edit module reference</a></div>
1819
+
<p> </p><div class="alert alert-warning">Module reference is taken from the source code. <a href="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/Lumen.php">Help us to improve documentation. Edit module reference</a></div>
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/Memcache.php">Help us to improve documentation. Edit module reference</a></div>
123
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/Memcache.php">Help us to improve documentation. Edit module reference</a></div>
Copy file name to clipboardExpand all lines: docs/modules/MongoDb.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -202,4 +202,4 @@ $I->useDatabase('db_1');
202
202
203
203
* `param` $dbName
204
204
205
-
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/MongoDb.php">Help us to improve documentation. Edit module reference</a></div>
205
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/MongoDb.php">Help us to improve documentation. Edit module reference</a></div>
<p> </p><div class="alert alert-warning">Module reference is taken from the source code. <a href="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/Phalcon.php">Help us to improve documentation. Edit module reference</a></div>
1703
+
<p> </p><div class="alert alert-warning">Module reference is taken from the source code. <a href="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/Phalcon.php">Help us to improve documentation. Edit module reference</a></div>
<p> </p><div class="alert alert-warning">Module reference is taken from the source code. <a href="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/PhpBrowser.php">Help us to improve documentation. Edit module reference</a></div>
1564
+
<p> </p><div class="alert alert-warning">Module reference is taken from the source code. <a href="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/PhpBrowser.php">Help us to improve documentation. Edit module reference</a></div>
*`param int` $expected Number of messages expected
329
329
330
-
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/Queue.php">Help us to improve documentation. Edit module reference</a></div>
330
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/Queue.php">Help us to improve documentation. Edit module reference</a></div>
Copy file name to clipboardExpand all lines: docs/modules/REST.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -955,4 +955,4 @@ $I->stopFollowingRedirects();
955
955
* `[Part]` xml
956
956
* `[Part]` json
957
957
958
-
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/REST.php">Help us to improve documentation. Edit module reference</a></div>
958
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/REST.php">Help us to improve documentation. Edit module reference</a></div>
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/Redis.php">Help us to improve documentation. Edit module reference</a></div>
310
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/Redis.php">Help us to improve documentation. Edit module reference</a></div>
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/SOAP.php">Help us to improve documentation. Edit module reference</a></div>
254
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/SOAP.php">Help us to improve documentation. Edit module reference</a></div>
Copy file name to clipboardExpand all lines: docs/modules/Sequence.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -116,4 +116,4 @@ Sequence:
116
116
117
117
### Actions
118
118
119
-
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/Sequence.php">Help us to improve documentation. Edit module reference</a></div>
119
+
<p> </p><divclass="alert alert-warning">Module reference is taken from the source code. <ahref="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/Sequence.php">Help us to improve documentation. Edit module reference</a></div>
Checks that the current page contains the given string (case insensitive).
@@ -1666,4 +1687,4 @@ Remove service $serviceName from the lists of persistent services.
1666
1687
1667
1688
* `param string` $serviceName
1668
1689
1669
-
<p> </p><div class="alert alert-warning">Module reference is taken from the source code. <a href="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/Symfony.php">Help us to improve documentation. Edit module reference</a></div>
1690
+
<p> </p><div class="alert alert-warning">Module reference is taken from the source code. <a href="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/Symfony.php">Help us to improve documentation. Edit module reference</a></div>
<p> </p><div class="alert alert-warning">Module reference is taken from the source code. <a href="https://github.com/Codeception/Codeception/tree/3.0/src/Codeception/Module/WebDriver.php">Help us to improve documentation. Edit module reference</a></div>
2391
+
<p> </p><div class="alert alert-warning">Module reference is taken from the source code. <a href="https://github.com/Codeception/Codeception/tree/3.1/src/Codeception/Module/WebDriver.php">Help us to improve documentation. Edit module reference</a></div>
0 commit comments