Skip to content

Releases: lucatume/wp-browser

2.6.4

07 Jul 14:49
Compare
Choose a tag to compare

Fixed

  • typos and spacing in documentation (thanks @cliffordp)
  • environment file parsing for empty values, fixes #427

2.6.3

30 Jun 10:46
Compare
Choose a tag to compare

Fixed

  • An issue where additional required plugins would not be correctly parsed during the init wpbrowser command, fixes #424

2.6.2

19 Jun 08:46
Compare
Choose a tag to compare

Fixed

  • An issue where users created during tests would not be have the correct editing and layout meta set, fixes #422, thanks @ryanshoover

2.6.1

11 Jun 09:31
Compare
Choose a tag to compare

Fixed

  • ensure $_SERVER['REQUEST_TIME'] and $_SERVER['REQUEST_TIME_FLOAT'] are correctly set when running tests based on the Codeception\Test\WPTestCase class, fixes #417

2.6.0

08 Jun 12:27
Compare
Choose a tag to compare

Added

  • support, in WPTestCase, for the @runInSeparateProcess annotation to run test methods in separate PHP processes; fixes #410

2.5.7

02 Jun 12:42
Compare
Choose a tag to compare

Fixed

  • Codeception required version erroneously set in prev version of composer.json file

2.5.6

02 Jun 07:33
Compare
Choose a tag to compare

Added

  • check in the codecept init wpbrowser command to check and report missing Codeception 4.0 to the user during initialization, fixes #412

2.5.5

25 May 07:47
Compare
Choose a tag to compare

Changed

  • refactoring to pass phpstan level 1 and 2 checks.

2.5.4

22 May 10:08
Compare
Choose a tag to compare

Fixed

  • an issue with .env files handling that, when the vlucas/phpdotenv package is not required, would incorrectly set up the test environment.

Changed

  • some refactoring to pass phpstan level 0 checks.

2.5.3

15 May 10:21
Compare
Choose a tag to compare

Added

  • the WPDb.letCron configuration parameter to control whether wp-cron processes should be allowe to spawn during tests or not (new default).

Fixed

  • the WPDb module will set up the database to prevent wp-cron requests from being spawned during tests, fixes #363.
  • env file parsing issues reported, fixes #398.

Changed

  • following changes to how the WPDb module sets up the database at the start of tests (and between tests), wp-cron process will not be spawned during tests unless the WPDb.letCron configuration parameter is set to true.