This changelog references the relevant changes (bug and security fixes) done to orchestra/testbench-dusk
.
Released: 2024-12-16
- Override Laravel's
vendor:publish
command.
- Update minimum support for Testbench v8.30.0+. (v8.28.0...v8.30.0)
- Update minimum support for Testbench Core v8.31.0+. (v8.30.0...v8.31.0)
Released: 2024-12-01
- Added
Orchestra\Testbench\Dusk\Bootstrap\LoadConfigurationWithWorkbench
class based onOrchestra\Testbench\Bootstrap\LoadConfigurationWithWorkbench
. - Added
artisan
file to the default skeleton.
- Update minimum support for Testbench v8.29.0+. (v8.28.0...v8.29.0)
- Update minimum support for Testbench Core v8.30.0+. (v8.29.0...v8.30.0)
- Change
Orchestra\Testbench\Dusk\Bootstrap\LoadConfiguration
class to extendsOrchestra\Testbench\Bootstrap\LoadConfiguration
. - Refactor
Orchestra\Testbench\Dusk\Console\Commander
based on Testbench Core. - Add multiple environment variables to Laravel 10 skeleton's configuration files based on changes made for Laravel 11.
- Fixed
bootstrap/app.php
to correctly extendsOrchestra\Testbench\Dusk\Foundation\Application
.
Released: 2024-11-19
- Added support for
laravel/serializable-closure
v2.
- Update minimum support for Testbench v8.28.0+. (v8.27.0...v8.28.0)
- Update minimum support for Testbench Core v8.29.0+. (v8.28.1...v8.29.0)
Released: 2024-09-25
- Update minimum support for Testbench v8.27.0+. (v8.26.0...v8.27.0)
- Update minimum support for Testbench Core v8.28.1+. (v8.27.0...v8.28.1)
- Change
resolveApplicationResolvingCallback()
method visibility fromprivate
toprotected
. - Update
Orchestra\Testbench\default_skeleton_path()
to acceptarray
.
- Removed
Orchestra\Testbench\Dusk\find_test_directory()
function.
Released: 2024-08-26
- Added
Orchestra\Testbench\Dusk\TestCase::$chromeDriverPort
property with9515
port as default.
- Update minimum support for Testbench v8.26.0+. (v8.25.0...v8.26.0)
- Update minimum support for Testbench Core v8.27.0+. (v8.26.0...v8.27.0)
- Utilise
Orchestra\Testbench\join_paths()
function. - Use
Laravel\SerializableClosure\SerializableClosure::unsigned()
.
Released: 2024-08-14
- Update minimum support for Testbench v8.25.0+. (v8.24.0...v8.25.0)
- Update minimum support for Testbench Core v8.26.0+. (v8.25.0...v8.26.0)
Released: 2024-07-30
- Added
Orchestra\Testbench\Dusk\Options::fullscreen()
helper method. - Added
--disable-search-engine-choice-screen
as default argument to ChromeOptions.
- Bump minimum Dusk Updater versions to support ChromeDriver 127 and above.
Released: 2024-07-13
- Added
Orchestra\Testbench\Dusk\Options::using()
method to interacts withFacebook\WebDriver\Chrome\ChromeOptions
.
- Update minimum support for Testbench v8.24.0+. (v8.23.2...v8.24.0)
- Update minimum support for Testbench Core v8.25.0+. (v8.24.3...v8.25.0)
Released: 2024-06-02
- Update minimum support for Testbench v8.23.1+. (v8.23.0...v8.23.1)
Released: 2024-05-21
- Update minimum support for Testbench v8.23.0+. (v8.22.0...v8.23.0)
- Uses
TESTBENCH_WORKING_PATH
from environment variable before fallback togetcwd()
. - PHPStan Improvements.
Released: 2024-04-07
- Append
APP_ENV
,TESTBENCH_PACKAGE_TESTER
,TESTBENCH_WORKING_PATH
andTESTBENCH_APP_BASE_PATH
topackage:dusk
command.
Released: 2024-03-31
- Add
defineChromeDriver()
method by @joshhanley in #94.
Released: 2024-03-13
- Added support for Laravel Dusk 8.
- Update minimum support for Testbench v8.22.0+. (v8.20.1...v8.22.0)
- Update minimum support for Laravel Dusk v7.13.0+. (v7.12.0...v7.13.0)
Released: 2024-01-26
- Added support for using IPv6 host.
- Added new configurable environment variables:
DUSK_SERVE_HOST
to set the web server host IP.DUSK_SERVE_PORT
to set the web server port.DUSK_SERVE_URL
to set the web server URL.
- Flush web server log and error outputs between tests.
Released: 2024-01-22
- Update minimum support for Testbench v8.21.1+. (v8.20.1...v8.21.1)
Released: 2024-01-19
- Added
Orchestra\Testbench\Dusk\default_skeleton_path()
helper function.
- Update minimum support for Testbench v8.21.0+. (v8.20.0...v8.21.0)
- Increase server timeout to
6000
seconds instead of60
seconds. - Clear
$server
static method duringtearDownAfterClass
.
Released: 2024-01-10
- Added
DUSK_SERVE_HOST
andDUSK_SERVE_PORT
environment variables.
- Update minimum support for Testbench v8.20.0+. (v8.19.0...v8.20.0)
- Ignores
beforeServingApplication()
whenOrchestra\Testbench\Dusk\Options::$providesApplicationServer
set tofalse
.
Released: 2024-01-03
- Update skeleton to match v10.3.1.
Released: 2023-12-28
- Update minimum support for Testbench v8.19.0+. (v8.18.0...v8.19.0)
- Utilise
Illuminate\Filesystem\join_paths()
function.
Released: 2023-12-19
- Update minimum support for Testbench v8.18.0+. (v8.17.0...v8.18.0)
Released: 2023-12-06
- Update minimum support for Testbench v8.17.0+. (v8.16.0...v8.17.0)
- Update minimum support for Laravel Dusk v7.12.0+. (v7.11.3...v7.12.0)
Released: 2023-12-06
- Update skeleton to match v10.2.10.
Released: 2023-12-04
- Added the following attributes:
Orchestra\Testbench\Dusk\Attributes\BeforeServing
Orchestra\Testbench\Dusk\Attributes\RestartServer
- Backport
startServing()
andreloadServing()
toOrchestra\Testbench\Dusk\CanServeSite
trait. - Add
createServingApplicationForDuskServer
method toOrchestra\Testbench\Dusk\CanServeSite
trait. - Added new PHPUnit Attribute to run the default
laravel
,cache
,notifications
,queue
andsession
database migrations usingOrchestra\Testbench\Attributes\WithMigration
.
- Update minimum support for Testbench v8.16.0+. (v8.15.0...v8.16.0)
- Allow passing method name to
Orchestra\Testbench\Dusk\CanServeSite::beforeServingApplication()
method. - Add
#[Override]
attribute to relevant methods, this requiresymfony/polyfill-php83
as backward compatibility for PHP 8.1 and 8.2.
- Deprecate
getFreshApplicationToServe
method onOrchestra\Testbench\Dusk\CanServeSite
trait, usecreateServingApplicationForDuskServer
instead.
Released: 2023-11-10
- Update minimum support for Testbench v8.15.0+. (v8.14.0...v8.15.0)
- Refactor
Orchetra\Testbench\Dusk\DuskServer
.
Released: 2023-11-02
- Update skeleton to match v10.2.8.
Released: 2023-11-02
- Update skeleton to match v10.2.7.
Released: 2023-10-09
- Update minimum support for Testbench v8.14.0+. (v8.13.0...v8.14.0)
- Update minimum support for Laravel Dusk v7.11.3+. (v7.11.1...v7.11.3)
Released: 2023-10-09
- Update minimum support for Testbench v8.13.0+. (v8.12.0...v8.13.0)
- Update minimum support for Laravel Dusk v7.11.1+. (v7.11.0...v7.11.1)
Released: 2023-09-30
- Fixes forwarding environment variables using
Env::forward()
.
Released: 2023-09-27
- Code refactors.
Released: 2023-09-26
- Update minimum support for Testbench v8.12.0+. (v8.11.0...v8.12.0)
- Improves integration with
Orchestra\Testbench\Concerns\WithWorkbench
trait. - Use
Orchestra\Testbench\Foundation\Env::forward()
to handle sending environment variables via Symfony Process.
Released: 2023-08-29
- Update minimum support for Testbench v8.11.0+. (v8.10.0...v8.11.0)
- Update minimum support for Laravel Dusk v7.11.0+. (v7.9.0...v7.11.0)
Released: 2023-08-29
- Update minimum support for Testbench v8.10.0+. (v8.9.1...v8.10.0)
Released: 2023-08-23
- Fixes usage with
Orchestra\Testbench\Concerns\WithWorkbench
.
Released: 2023-08-22
- Added
Orchestra\Testbench\Dusk\Concerns\InteractsWithWebDriverOptions
.
- Update minimum support for Testbench v8.9.1+. (v8.9.0...v8.9.1)
- Utilise
setUpTheTestEnvironmentTraitToBeIgnored()
method.
Released: 2023-08-19
- Update minimum support for Testbench v8.9.0+. (v8.8.0...v8.9.0)
Released: 2023-08-15
- Update minimum support for Testbench v8.8.0+. (v8.6.3...v8.8.0)
- Update
laravel/bootstrap/app.php
to matchorchestra/testbench-core
.
Released: 2023-08-10
- Update minimum support for Testbench v8.6.3+. (v8.6.2...v8.6.3)
Released: 2023-08-10
- Update minimum support for Testbench v8.6.2+. (v8.6.0...v8.6.2)
Released: 2023-08-08
- Update minimum support for Testbench v8.6.0+. (v8.5.7...v8.6.0)
- Update minimum support for Laravel Dusk v7.9.0+. (v7.8.0...v7.9.0)
- Autoload
Laravel\Dusk\DuskServiceProvider
service provider.
Released: 2023-07-25
- Fixes running
DuskServer
on certain environment where PHP executable path need to be wrapped using quote.
Released: 2023-07-22
- Update
orchestra/dusk-updater
to support ChromeDriver115
+.
Released: 2023-07-12
- Update minimum support for Laravel Dusk v7.8.0+. (v7.7.1...v7.8.0)
- Update skeleton to match v10.2.5.
Released: 2023-06-13
- Update minimum support for Testbench v8.5.7+. (v8.5.0...v8.5.7)
Released: 2023-05-26
- Update skeleton to match v10.2.2.
Released: 2023-05-17
- Update skeleton to match v10.2.1.
Released: 2023-05-09
- Update skeleton to match v10.2.0.
- Update minimum support for Laravel Dusk v7.7.1+. (v7.7.0...v7.7.1)
Released: 2023-04-18
- Update minimum support for Testbench v8.5.0+. (v8.4.0...v8.5.0)
Released: 2023-04-14
- Update minimum support for Testbench v8.4.0+. (v8.3.0...v8.4.0)
- Supports PHPUnit 10.1.
Released: 2023-04-12
- Update skeleton to match v10.0.6.
Released: 2023-04-05
- Update minimum support for Testbench v8.3.0+. (v8.2.1...v8.3.0)
- Add
setUpTheTestEnvironmentTraitToBeIgnored()
method to determinesetup<Concern>
andteardown<Concern>
with imported traits that should be used on a given trait.
Released: 2023-04-03
- Update minimum support for Testbench v8.2.1+. (v8.2.0...v8.2.1)
Released: 2023-04-01
- Update minimum support for Testbench v8.2.0+. (v8.1.0...v8.2.0)
Released: 2023-03-27
- Update minimum support for Testbench v8.1.0+. (v8.0.8...v8.1.0)
Released: 2023-03-10
- Update minimum support for Testbench v8.0.8+. (v8.0.7...v8.0.8)
Released: 2023-03-09
- Update minimum support for Testbench v8.0.7+. (v8.0.3...v8.0.7)
Released: 2023-03-03
- Allow using environment variable
DUSK_HEADLESS_MODE
value (when available).
Released: 2023-03-02
- Allow using
--headless=new
available from Chrome v109.
- Update minimum support for Laravel Dusk v7.7.0+. (v7.6.0...v7.7.0)
Released: 2023-02-24
- Update minimum support for Testbench v8.0.3+. (v8.0.1...v8.0.3)
Released: 2023-02-17
- Update minimum support for Testbench v8.0.1+. (v8.0.0...v8.0.1)
Released: 2023-02-16
- Fixes generating
phpunit.dusk.xml
when executingpackage:dusk
command on PHPUnit 10.
Released: 2023-02-14
- Update support for Laravel Framework v10.
- Increase minimum PHP version to 8.1 and above (tested with 8.1 and 8.2).