Skip to content

Commit d577809

Browse files
committed
auto updated documentation
1 parent f299927 commit d577809

36 files changed

+96
-336
lines changed

changelog.markdown

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

88
# Changelog
99

10+
#### 2.3.5
11+
12+
* Fixed HTML report with unencoded HTML code by **[mpgo13](https://github.com/mpgo13)**. See [#3819](https://github.com/Codeception/Codeception/issues/3819) [#4423](https://github.com/Codeception/Codeception/issues/4423)
13+
* Made `assertArraySubset` protected across all modules by **[guidocella](https://github.com/guidocella)**
14+
* [WebDriver][PhpBrowser][Frameworks] Added support for associative arrays in `seeInFormFields` by **[guidocella](https://github.com/guidocella)**
15+
* [PhpBrowser][Frameworks] Submit default values of checkboxes. See [#4411](https://github.com/Codeception/Codeception/issues/4411) by **[guidocella](https://github.com/guidocella)**
16+
* [PhpBrowser][Frameworks] Make `seeInField` check options' texts and trimmed texts. By **[guidocella](https://github.com/guidocella)**
17+
* **[PhpBrowser]** Prevents `submitForm` to submit inputs in disabled fieldsets. Fixes [#4426](https://github.com/Codeception/Codeception/issues/4426) by **[moebrowne](https://github.com/moebrowne)**
18+
* **[PhpBrowser]** Fixed `amOnUrl` with empty path component. If path component was empty, it used previous url. Fixes [#4383](https://github.com/Codeception/Codeception/issues/4383) by **[Naktibalda](https://github.com/Naktibalda)**
19+
* **[Db]** Improved postgres cleanup (recreate schema) by **[samusenkoiv](https://github.com/samusenkoiv)**
20+
* **[Laravel5]** Don't duplicate associative array fields on form submission. See [#4414](https://github.com/Codeception/Codeception/issues/4414) by **[guidocella](https://github.com/guidocella)**
21+
* **[WebDriver]** Fixed `webDriver->getCapabilities()` for `facebook/php-webdriver` < 1.3 (could happen on PHP 5.4, 5.5). Fixes [#4435](https://github.com/Codeception/Codeception/issues/4435)
22+
* **[WebDriver]** Make `wait` accept fractional amount of seconds to wait for less than a second. By **[gvlasov](https://github.com/gvlasov)**
23+
* **[Laravel5]** Changing params loader to use `$_SERVER` global instead of `$_ENV`. See [#4401](https://github.com/Codeception/Codeception/issues/4401) by **[EricTendian](https://github.com/EricTendian)**
24+
* **[Mongo]** Fixes `haveInCollection` using `__toString`. See [#4442](https://github.com/Codeception/Codeception/issues/4442) by **[samusenkoiv](https://github.com/samusenkoiv)**
25+
* Dereferencing vairables for Steps output. Fixes [#4402](https://github.com/Codeception/Codeception/issues/4402) by **[alambe](https://github.com/alambe)**
26+
* **[Symfony]** Load persistent services before loading profiler. See [#4437](https://github.com/Codeception/Codeception/issues/4437) by **[samusenkoiv](https://github.com/samusenkoiv)**
27+
1028
#### 2.3.4
1129

1230
* Added `@prepare` annotation to make realtime configuration for tests in Cest and Test classes. [See documentation](http://codeception.com/docs/06-ModulesAndHelpers#Runtime-Configuration-of-a-Test).

docs/03-AcceptanceTests.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,9 +447,7 @@ $I->seeElement('#modal');
447447
{% endhighlight %}
448448

449449
While WebDriver duplicates the functionality of PhpBrowser, it has its limitations: It can't check headers since browsers don't provide APIs for that.
450-
WebDriver also adds browser-specific functionality.
451-
452-
### Browser Tests
450+
WebDriver also adds browser-specific functionality:
453451

454452

455453

docs/05-UnitTests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ php codecept generate:test unit Example
2424

2525
{% endhighlight %}
2626

27-
It create a new `ExampleTest` file located in the `tests/unit` directory.
27+
It creates a new `ExampleTest` file located in the `tests/unit` directory.
2828

2929
As always, you can run the newly created test with this command:
3030

docs/modules/AMQP.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,6 @@ To use this module with Composer you need <em>"php-amqplib/php-amqplib": "~2.4"<
4747

4848
### Actions
4949

50-
#### assertArraySubset
51-
52-
Checks that array contains subset.
53-
54-
* `param array` $subset
55-
* `param array` $array
56-
* `param bool` $strict
57-
* `param string` $message
58-
59-
6050
#### bindQueueToExchange
6151

6252
Binds a queue to an exchange

docs/modules/AngularJS.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function _before(TestInterface $test)
9999
$name = $test->getMetadata()->getName();
100100
$this->getModule('WebDriver')->_capabilities(function($currentCapabilities) use ($name) {
101101
$currentCapabilities['name'] = $name;
102-
return new DesiredCapabilities($currentCapabilities);
102+
return $currentCapabilities;
103103
});
104104
}
105105

@@ -363,16 +363,6 @@ $I->appendField('#myTextField', 'appended');
363363
@throws \Codeception\Exception\ElementNotFound
364364

365365

366-
#### assertArraySubset
367-
368-
Checks that array contains subset.
369-
370-
* `param array` $subset
371-
* `param array` $array
372-
* `param bool` $strict
373-
* `param string` $message
374-
375-
376366
#### attachFile
377367

378368
Attaches a file relative to the Codeception `_data` directory to the given file upload field.
@@ -1959,7 +1949,7 @@ Unselect an option in the given select box.
19591949
19601950
Wait for $timeout seconds.
19611951
1962-
* `param int` $timeout secs
1952+
* `param int|float` $timeout secs
19631953
@throws \Codeception\Exception\TestRuntimeException
19641954
19651955

docs/modules/Apc.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,6 @@ Be sure you don't use the production server to connect.
3636

3737
### Actions
3838

39-
#### assertArraySubset
40-
41-
Checks that array contains subset.
42-
43-
* `param array` $subset
44-
* `param array` $array
45-
* `param bool` $strict
46-
* `param string` $message
47-
48-
4939
#### dontSeeInApc
5040

5141
Checks item in APC(u) doesn't exist or is the same as expected.

docs/modules/Cli.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,6 @@ Wrapper for basic shell commands and shell output
2222

2323
### Actions
2424

25-
#### assertArraySubset
26-
27-
Checks that array contains subset.
28-
29-
* `param array` $subset
30-
* `param array` $array
31-
* `param bool` $strict
32-
* `param string` $message
33-
34-
3525
#### dontSeeInShellOutput
3626

3727
Checks that output from latest command doesn't contain text

docs/modules/DataFactory.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -136,16 +136,6 @@ In case your ORM expects a related record itself (Doctrine) then you should use
136136

137137
### Actions
138138

139-
#### assertArraySubset
140-
141-
Checks that array contains subset.
142-
143-
* `param array` $subset
144-
* `param array` $array
145-
* `param bool` $strict
146-
* `param string` $message
147-
148-
149139
#### have
150140

151141
Generates and saves a record,.

docs/modules/Db.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -192,16 +192,6 @@ SELECT COUNT(*) FROM `users` WHERE `name` = 'Davert' AND `email` LIKE 'davert%'
192192

193193
### Actions
194194

195-
#### assertArraySubset
196-
197-
Checks that array contains subset.
198-
199-
* `param array` $subset
200-
* `param array` $array
201-
* `param bool` $strict
202-
* `param string` $message
203-
204-
205195
#### dontSeeInDatabase
206196

207197
Effect is opposite to ->seeInDatabase

docs/modules/Doctrine2.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,6 @@ tests will run much faster and will be isolated from each other.
5757

5858
### Actions
5959

60-
#### assertArraySubset
61-
62-
Checks that array contains subset.
63-
64-
* `param array` $subset
65-
* `param array` $array
66-
* `param bool` $strict
67-
* `param string` $message
68-
69-
7060
#### dontSeeInRepository
7161

7262
Flushes changes to database and performs `findOneBy()` call for current repository.

0 commit comments

Comments
 (0)