Skip to content

Commit 9d99ba0

Browse files
committed
Regenerated changelog and module documentation
1 parent eee9277 commit 9d99ba0

File tree

12 files changed

+283
-1
lines changed

12 files changed

+283
-1
lines changed

changelog.markdown

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ title: Codeception Changelog
88
# Changelog
99

1010

11+
#### 4.1.1
12+
13+
* --no-artifacts flag for run command [#5646](https://github.com/Codeception/Codeception/issues/5646) by **[Mitrichius](https://github.com/Mitrichius)**
14+
* Fix recorder filename with special chars [#5846](https://github.com/Codeception/Codeception/issues/5846) by **[gimler](https://github.com/gimler)**
15+
16+
#### 4.1.0
17+
18+
* Support for PHPUnit 9
19+
1120
#### 4.0.3
1221

1322
* Fixed command autocompletion [#5806](https://github.com/Codeception/Codeception/issues/5806) by **[svycka](https://github.com/svycka)**

docs/modules/Laravel5.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,6 +1225,17 @@ $user = $I->haveRecord('App\User', array('name' => 'Davert')); // returns Eloque
12251225
* `[Part]` orm
12261226

12271227

1228+
#### haveServerParameter
1229+
1230+
Sets SERVER parameter valid for all next requests.
1231+
1232+
{% highlight php %}
1233+
1234+
$I->haveServerParameter('name', 'value');
1235+
1236+
{% endhighlight %}
1237+
1238+
12281239
#### haveSingleton
12291240

12301241
Add a singleton binding to the Laravel service container.
@@ -1999,6 +2010,18 @@ $I->setCookie('PHPSESSID', 'el4ukv0kqbvoirg7nkp4dncpk3');
19992010

20002011

20012012

2013+
#### setServerParameters
2014+
2015+
Sets SERVER parameters valid for all next requests.
2016+
this will remove old ones.
2017+
2018+
{% highlight php %}
2019+
2020+
$I->setServerParameters([]);
2021+
2022+
{% endhighlight %}
2023+
2024+
20022025
#### submitForm
20032026

20042027
Submits the given form on the page, with the given form

docs/modules/Lumen.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -998,6 +998,17 @@ $user = $I->haveRecord('App\User', array('name' => 'Davert')); // returns Eloque
998998
* `[Part]` orm
999999

10001000

1001+
#### haveServerParameter
1002+
1003+
Sets SERVER parameter valid for all next requests.
1004+
1005+
{% highlight php %}
1006+
1007+
$I->haveServerParameter('name', 'value');
1008+
1009+
{% endhighlight %}
1010+
1011+
10011012
#### haveSingleton
10021013

10031014
Add a singleton binding to the Laravel service container.
@@ -1608,6 +1619,18 @@ $I->setCookie('PHPSESSID', 'el4ukv0kqbvoirg7nkp4dncpk3');
16081619

16091620

16101621

1622+
#### setServerParameters
1623+
1624+
Sets SERVER parameters valid for all next requests.
1625+
this will remove old ones.
1626+
1627+
{% highlight php %}
1628+
1629+
$I->setServerParameters([]);
1630+
1631+
{% endhighlight %}
1632+
1633+
16111634
#### submitForm
16121635

16131636
Submits the given form on the page, with the given form

docs/modules/Phalcon.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,17 @@ $I->haveRecord('App\Models\Categories', ['name' => 'Testing']');
894894
* `[Part]` orm
895895

896896

897+
#### haveServerParameter
898+
899+
Sets SERVER parameter valid for all next requests.
900+
901+
{% highlight php %}
902+
903+
$I->haveServerParameter('name', 'value');
904+
905+
{% endhighlight %}
906+
907+
897908
#### makeHtmlSnapshot
898909

899910
Saves current page's HTML into a temprary file.
@@ -1497,6 +1508,18 @@ $I->setCookie('PHPSESSID', 'el4ukv0kqbvoirg7nkp4dncpk3');
14971508

14981509

14991510

1511+
#### setServerParameters
1512+
1513+
Sets SERVER parameters valid for all next requests.
1514+
this will remove old ones.
1515+
1516+
{% highlight php %}
1517+
1518+
$I->setServerParameters([]);
1519+
1520+
{% endhighlight %}
1521+
1522+
15001523
#### submitForm
15011524

15021525
Submits the given form on the page, with the given form

docs/modules/Phalcon4.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,17 @@ $I->haveRecord('App\Models\Categories', ['name' => 'Testing']');
890890
* `[Part]` orm
891891

892892

893+
#### haveServerParameter
894+
895+
Sets SERVER parameter valid for all next requests.
896+
897+
{% highlight php %}
898+
899+
$I->haveServerParameter('name', 'value');
900+
901+
{% endhighlight %}
902+
903+
893904
#### makeHtmlSnapshot
894905

895906
Saves current page's HTML into a temprary file.
@@ -1493,6 +1504,18 @@ $I->setCookie('PHPSESSID', 'el4ukv0kqbvoirg7nkp4dncpk3');
14931504

14941505

14951506

1507+
#### setServerParameters
1508+
1509+
Sets SERVER parameters valid for all next requests.
1510+
this will remove old ones.
1511+
1512+
{% highlight php %}
1513+
1514+
$I->setServerParameters([]);
1515+
1516+
{% endhighlight %}
1517+
1518+
14961519
#### submitForm
14971520

14981521
Submits the given form on the page, with the given form

docs/modules/PhpBrowser.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,17 @@ $I->haveHttpHeader('Client_Id', 'Codeception');
831831
requests
832832

833833

834+
#### haveServerParameter
835+
836+
Sets SERVER parameter valid for all next requests.
837+
838+
{% highlight php %}
839+
840+
$I->haveServerParameter('name', 'value');
841+
842+
{% endhighlight %}
843+
844+
834845
#### makeHtmlSnapshot
835846

836847
Saves current page's HTML into a temprary file.
@@ -1358,6 +1369,18 @@ Alias to `haveHttpHeader`
13581369
* `param` $value
13591370

13601371

1372+
#### setServerParameters
1373+
1374+
Sets SERVER parameters valid for all next requests.
1375+
this will remove old ones.
1376+
1377+
{% highlight php %}
1378+
1379+
$I->setServerParameters([]);
1380+
1381+
{% endhighlight %}
1382+
1383+
13611384
#### submitForm
13621385

13631386
Submits the given form on the page, with the given form

docs/modules/REST.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,17 @@ $I->haveHttpHeader('Content-Type', 'application/json');
405405
* `[Part]` xml
406406

407407

408+
#### haveServerParameter
409+
410+
Sets SERVER parameter valid for all next requests.
411+
412+
{% highlight php %}
413+
414+
$I->haveServerParameter('name', 'value');
415+
416+
{% endhighlight %}
417+
418+
408419
#### seeBinaryResponseEquals
409420

410421
Checks if the hash of a binary response is exactly the same as provided.
@@ -583,6 +594,49 @@ This is done with json_last_error function.
583594
* `[Part]` json
584595

585596

597+
#### seeResponseIsValidOnJsonSchema
598+
599+
Checks whether last response matches the supplied json schema (https://json-schema.org/)
600+
Supply schema as relative file path in your project directory or an absolute path
601+
602+
@see codecept_absolute_path()
603+
604+
* `param string` $schemaFilename
605+
* `[Part]` json
606+
607+
608+
#### seeResponseIsValidOnJsonSchemaString
609+
610+
Checks whether last response matches the supplied json schema (https://json-schema.org/)
611+
Supply schema as json string.
612+
613+
Examples:
614+
615+
{% highlight php %}
616+
617+
<?php
618+
// response: {"name": "john", "age": 20}
619+
$I->seeResponseIsValidOnJsonSchemaString('{"type": "object"}');
620+
621+
// response {"name": "john", "age": 20}
622+
$schema = [
623+
"properties" => [
624+
"age" => [
625+
"type" => "integer",
626+
"minimum" => 18
627+
]
628+
]
629+
];
630+
$I->seeResponseIsValidOnJsonSchemaString(json_encode($schema));
631+
632+
?>
633+
634+
{% endhighlight %}
635+
636+
* `param string` $schema
637+
* `[Part]` json
638+
639+
586640
#### seeResponseIsXml
587641

588642
Checks whether last response was valid XML.
@@ -948,6 +1002,18 @@ Sends UNLINK request to given uri.
9481002
* `[Part]` xml
9491003

9501004

1005+
#### setServerParameters
1006+
1007+
Sets SERVER parameters valid for all next requests.
1008+
this will remove old ones.
1009+
1010+
{% highlight php %}
1011+
1012+
$I->setServerParameters([]);
1013+
1014+
{% endhighlight %}
1015+
1016+
9511017
#### startFollowingRedirects
9521018

9531019
Enables automatic redirects to be followed by the client

docs/modules/Symfony.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,17 @@ $I->haveHttpHeader('Client&#95;Id', 'Codeception');
844844
requests
845845

846846

847+
#### haveServerParameter
848+
849+
Sets SERVER parameter valid for all next requests.
850+
851+
{% highlight php %}
852+
853+
$I->haveServerParameter('name', 'value');
854+
855+
{% endhighlight %}
856+
857+
847858
#### invalidateCachedRouter
848859

849860
Invalidate previously cached routes.
@@ -1477,6 +1488,18 @@ $I->setCookie('PHPSESSID', 'el4ukv0kqbvoirg7nkp4dncpk3');
14771488

14781489

14791490

1491+
#### setServerParameters
1492+
1493+
Sets SERVER parameters valid for all next requests.
1494+
this will remove old ones.
1495+
1496+
{% highlight php %}
1497+
1498+
$I->setServerParameters([]);
1499+
1500+
{% endhighlight %}
1501+
1502+
14801503
#### submitForm
14811504

14821505
Submits the given form on the page, with the given form

docs/modules/WebDriver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ you should use a tunnel application provided by a service.
208208
* `pageload_timeout` - amount of time to wait for a page load to complete before throwing an error (default 0 seconds).
209209
* `http_proxy` - sets http proxy server url for testing a remote server.
210210
* `http_proxy_port` - sets http proxy server port
211-
* `debug_log_entries` - how many selenium entries to print with `debugWebDriverLogs` or on fail (15 by default).
211+
* `debug_log_entries` - how many selenium entries to print with `debugWebDriverLogs` or on fail (0 by default).
212212
* `log_js_errors` - Set to true to include possible JavaScript to HTML report, or set to false (default) to deactivate.
213213

214214
Example (`acceptance.suite.yml`)

docs/modules/Yii2.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,6 +1113,17 @@ $user_id = $I->haveRecord('app\models\User', array('name' => 'Davert'));
11131113
* `[Part]` orm
11141114

11151115

1116+
#### haveServerParameter
1117+
1118+
Sets SERVER parameter valid for all next requests.
1119+
1120+
{% highlight php %}
1121+
1122+
$I->haveServerParameter('name', 'value');
1123+
1124+
{% endhighlight %}
1125+
1126+
11161127
#### makeHtmlSnapshot
11171128

11181129
Saves current page's HTML into a temprary file.
@@ -1656,6 +1667,18 @@ Sets a cookie and, if validation is enabled, signs it.
16561667
* `param array` $params Additional cookie params like `domain`, `path`, `expires` and `secure`.
16571668

16581669

1670+
#### setServerParameters
1671+
1672+
Sets SERVER parameters valid for all next requests.
1673+
this will remove old ones.
1674+
1675+
{% highlight php %}
1676+
1677+
$I->setServerParameters([]);
1678+
1679+
{% endhighlight %}
1680+
1681+
16591682
#### submitForm
16601683

16611684
Submits the given form on the page, with the given form

0 commit comments

Comments
 (0)