Skip to content

Commit 17b6607

Browse files
committed
auto updated documentation
1 parent 874ae82 commit 17b6607

File tree

4 files changed

+30
-3
lines changed

4 files changed

+30
-3
lines changed

changelog.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ title: Codeception Changelog
77

88
# Changelog
99

10+
#### 3.0.1
11+
12+
* Fixed code duplication when building actors. Fixes [#5506](https://github.com/Codeception/Codeception/issues/5506) [#5500](https://github.com/Codeception/Codeception/issues/5500)
13+
* Fixed autoloader generation for 3.0 docker images by **[OneEyedSpaceFish](https://github.com/OneEyedSpaceFish)**
14+
* Removed `hoa/console` dependency from `codeception/base` package.
15+
1016
#### 3.0.0
1117

1218
* **BREAKING** Modules removed:

docs/03-AcceptanceTests.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ Conditional assertions are disabled in bootstrap setup. To enable them you shoul
319319

320320
# in acceptance.suite.yml
321321
# or in codeception.yml inside suites section
322-
step_drcorators:
322+
step_decorators:
323323
- \Codeception\Step\ConditionalAssertion
324324

325325
{% endhighlight %}
@@ -606,7 +606,7 @@ Retries are disabled by default. To enable them you should add retry step decora
606606

607607
# in acceptance.suite.yml
608608
# or in codeception.yml inside suites section
609-
step_drcorators:
609+
step_decorators:
610610
- \Codeception\Step\Retry
611611

612612
{% endhighlight %}
@@ -698,7 +698,7 @@ A/B testing is disabled by default. To enable it you should add corresponding st
698698

699699
# in acceptance.suite.yml
700700
# or in codeception.yml inside suites section
701-
step_drcorators:
701+
step_decorators:
702702
- \Codeception\Step\TryTo
703703

704704
{% endhighlight %}

docs/modules/Phalcon.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,6 +1241,24 @@ $I->seeNumberOfElements('tr', [0,10]); // between 0 and 10 elements
12411241
* `param mixed` $expected int or int[]
12421242

12431243

1244+
#### seeNumberOfRecords
1245+
1246+
Checks that number of records exists in database.
1247+
1248+
{% highlight php %}
1249+
1250+
<?php
1251+
$I->seeNumberOfRecords('App\Models\Categories', 3, ['name' => 'Testing']);
1252+
?>
1253+
1254+
{% endhighlight %}
1255+
1256+
* `param string` $model Model name
1257+
* `param int` $number int number of records
1258+
* `param array` $attributes Model attributes
1259+
* `[Part]` orm
1260+
1261+
12441262
#### seeOptionIsSelected
12451263

12461264
Checks that the given option is selected.

docs/modules/Symfony.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,9 @@ $I->seeElement(['css' => 'form input'], ['name' => 'login']);
10451045

10461046
Checks if the desired number of emails was sent.
10471047
If no argument is provided then at least one email must be sent to satisfy the check.
1048+
The email is checked using Symfony's profiler. If your app performs a redirect after sending the email,
1049+
you need to tell Codeception to not follow this redirect, using REST Module's [stopFollowingRedirects](
1050+
https://codeception.com/docs/modules/REST#stopFollowingRedirects) method.
10481051

10491052
{% highlight php %}
10501053

0 commit comments

Comments
 (0)