Skip to content

Latest commit

 

History

History
823 lines (447 loc) · 35.6 KB

CHANGELOG.md

File metadata and controls

823 lines (447 loc) · 35.6 KB

Release Notes

v8.2.12 - 2024-11-21

v8.2.11 - 2024-11-07

v8.2.10 - 2024-10-22

  • fix: removed Laravel\Dusk\Page import from dusk:page stub by @fxnm in #1145
  • [8.x] CI Improvements by @crynobone in #1147
  • [8.x] Allow to dynamically add Tests\Browsers\Page\Page or Laravel\Dusk\Page via dusk:page command by @crynobone in #1148

v8.2.9 - 2024-10-14

  • check for directory existence when storing console log or storing source, if it does not exist create it by @ssanko in #1143

v8.2.8 - 2024-10-04

v8.2.7 - 2024-09-27

v8.2.6 - 2024-09-24

v8.2.5 - 2024-08-26

v8.2.4 - 2024-08-14

  • Align with other [@throws](https://github.com/throws) docblocks by @u01jmg3 in #1117
  • [8.x] Extract chromedriver regardless of position in archive by @aleahy in #1115
  • Docblock by @u01jmg3 in #1119

v8.2.3 - 2024-08-02

v8.2.2 - 2024-07-24

  • fix: DuskTestCase driver function fails to read the DUSK_DRIVER_URL environment variable by @robinstraub in #1108
  • [8.x] Fixes installing ChromeDriver 127 and above by @crynobone in #1110

v8.2.1 - 2024-07-08

v8.2.0 - 2024-04-16

  • assertPathEndsWith() and assertPathContains() by @u01jmg3 in #1100

v8.1.2 - 2024-04-16

  • Move hasHeadlessDisabled() and shouldStartMaximized() to Laravel\Dusk\TestCase by @crynobone in #1098

v8.1.1 - 2024-03-28

v8.1.0 - 2024-03-25

v8.0.0 - 2024-03-12

v7.13.0 - 2024-02-23

  • Add component() method to get scoped Browser instance by @ziadoz in #1087

v7.12.3 - 2024-02-15

  • Fixes console logs trying to create file containing DIRECTORY_SEPARATOR value from data provider name. by @crynobone in #1086

v7.12.2 - 2024-02-09

  • Add assertAttributeMissing() method by @ziadoz in #1083
  • Add PHPUnit data provider set name to output filenames by @ziadoz in #1084

v7.12.1 - 2024-01-03

v7.12.0 - 2023-12-05

  • Add attribute does not contain assertion by @ziadoz in #1072

v7.11.4 - 2023-11-14

  • Limiting length of getCallerName return value to avoid issue when storing logs and screenshots by @lk77 in #1070

v7.11.3 - 2023-10-17

v7.11.2 - 2023-10-10

  • Consistently use WebDriverWait available API for WaitsForElements trait instead of relying on Carbon. by @crynobone in #1062

v7.11.1 - 2023-09-26

  • Fix favicon 404s triggered when using loginAs() or logout() methods by @ziadoz in #1061

v7.11.0 - 2023-09-12

v7.10.0 - 2023-09-04

v7.9.4 - 2023-08-28

v7.9.3 - 2023-08-03

v7.9.2 - 2023-07-30

v7.9.1 - 2023-07-27

  • Normalize directory separator on ChromeDriverCommand by @crynobone in #1045

v7.9.0 - 2023-07-24

v7.8.0 - 2023-07-08

  • Uses Collision's printer if possible by @nunomaduro in #1038
  • Fixed timeout error message that contain percent characters when calling waitForTextIn by @voidgraphics in #1029

v7.7.1 - 2023-04-13

  • Allow dusk attribute selectors to be chained by @JayBizzle in #1034

v7.7.0 - 2023-02-21

  • Use --headless=new by @SjorsO in #1027

v7.6.1 - 2023-02-14

Fixed

  • Fix PHPUnit v10 stubs by @driesvints in #1024

v7.6.0 - 2023-02-07

Added

  • Adds PHPUnit 10 support by @crynobone in #1023

v7.5.0 - 2023-01-22

Added

v7.4.0 - 2023-01-06

Added

  • Laravel v10 support by @driesvints in #1015

v7.3.0 - 2023-01-03

Changed

  • Added .env file existence check by @Kravets1996 in #1014
  • Uses PHP Native Type Declarations 🐘 by @nunomaduro in #1004

v7.2.1 - 2022-12-16

Fixed

  • Revert "feat: add alternative tag for element selection" by @driesvints in #1013

v7.2.0 - 2022-12-14

Added

  • Add alternative tag for element selection by @pataar in #1012

v7.1.1 - 2022-09-29

Fixed

  • Fix updated Mac image name by @driesvints in #1001

v7.1.0 - 2022-09-27

Added

  • Add pauseIf() / pauseUnless() by @u01jmg3 in #999

v7.0.2 - 2022-09-15

Changed

  • Allow to click and wait [N] seconds for reload by @fabio-ivona in #998

v7.0.1 - 2022-09-02

Fixed

  • Remove extra Directory Separator from ChromeProcess by @GeoSot in #995

v7.0.0 - 2022-08-19

Changed

  • Uses Pest if available by @nunomaduro in #771
  • Use selector to double click, and to click and hold by @rodrigopedra in #848
  • Bump dependencies by @driesvints in #874

Removed

  • Drop PHPUnit 7 by @driesvints in #762
  • Drop PHP 7.2 by @driesvints in #860
  • Drop Laravel v6 & v7 support by @driesvints in #862
  • Drop PHPUnit v8 by @driesvints in #861
  • Remove chrome binaries by @driesvints in #873
  • Drop old PHP and Laravel versions by @driesvints in #993

v6.25.1 - 2022-07-25

Fixed

  • Try clicking all elements before throwing ElementClickInterceptedException by @SjorsO in #989

v6.25.0 - 2022-07-11

Added

  • Added responsiveScreenShots method by @ps-sean in #984
  • Add assertIndeterminate assertion for checkbox. by @crynobone in #986

v6.24.0 - 2022-05-09

Added

  • Add hasStartMaximizedEnabled method by @roksprogar in #978

v6.23.1 - 2022-05-02

Fixed

  • Fix storing page source to disk when source assertions fail. by @calmdev in #976

v6.23.0 - 2022-04-11

Added

  • Add waitForEvent() method by @michaelhue in #972

v6.22.3 - 2022-04-04

Fixed

  • Fixed vueAttribute for older Vue 2.x projects by @myMartek in #970

v6.22.2 - 2022-03-24

Changed

  • assertVue*() methods support Vue 3 composition API by @derekmd in #969

v6.22.1 - 2022-02-15

Fixed

  • Fixes link assertion with single or double quote (#965)

v6.22.0 - 2022-02-01

Changed

  • Add waitForInput by @SjorsO in #960

Changed

  • Laravel 9 Support (#956)

Changed

  • Add clickAndWaitForReload (#953)

Fixed

  • Fix assertValue for select elements (#942)

Changed

  • throw an error if assertValue() is used with an element that does not support the value attribute (#936, 334c49f)

Fixed

  • Fix logout() when using AuthenticateSession and default guard (#939)

Added

  • Add new assertion assertValueIsNot() (#929)
  • Add new assertion assertAttributeContains() (#931, ab47680)

Updated

  • Using loginAs with id (#922

Fixed

  • Fix "pest" option does not exist on dusk:fails command (#921)

Added

  • Add waitUntilEnabled and waitUntilDisabled (#918)

Changed

  • Support waiting for URLs with waitForLocation (#916)

Added

  • Add assertInputPresent and assertInputMissing assertions (#914)

Changed

  • Add source directory creation on install (#915)

Added

  • Make DuskCommand compatible with Pest (#913)

Fixed

  • Fix unicode support in appendSlowly method (#907)
  • Redirect page to previous URL after asserting authentication (#912)

Changed

  • Allow to pass array for select multiple (#904)

Fixed

  • Fix for class imports (#905)

Added

  • Added middleware configuration (#888)

Added

  • Add purge console command (#887)

Changed

  • Move commands to boot method (#884)
  • Refactor redundant purging methods (#886)

Added

  • Add assertNotPresent() assertion (#879)

Added

  • Add Dusk command argument --browse (#870)
  • Add support for Mac ARM64 architecture (#876)

Fixed

  • Add $seconds options to Browser::elseWhenAvailable() (#865)

Changed

  • Add Chromium path for Debian 10 (#855)

Fixed

  • Do not resize to zero (#858)
  • Fix the value generated when setting encrypted cookies (#857)

Changed

  • Allow passing mixed to assertVue and assertVueIsNot (#853)

Added

  • Add Browser::elsewhereWhenAvailable() (#846)

Added

  • Add new assertions assertSeeAnythingIn() and assertSeeNothingIn() (#843, dc683ee)

Fixed

  • Add Vue 3 support to the assertVue*() methods (#834)

Added

  • PHP 8 Support (#833)

Changed

  • Changes in preparation for Laravel Sail

Added

  • Capture source code on failure (#819, 3c59a5c)
  • Add assertScript() (#821)
  • Added waitForTextIn Function (#823)
  • Allow to utilise browser "about:blank" page (#824)

Fixed

  • Fix choosing random elements on <select> (#822)
  • Fix logout() when using AuthenticateSession middleware (#826)

Added

Fixed

  • Fix the fitContent() method (#815)

Added

  • Allow proxy for getting latest version (#805)

Fixed

  • Add CookieValuePrefix detection for encrypted cookies (#804)
  • Allow dotenv 5.0 to be installed (#803)

Added

  • Support Laravel 8 (#800)

Fixed

  • Pass ssl-no-verify option into latestVersion of ChromeDriver install (#794)

Added

  • Support clicking the topmost element at a given pair of coordinates (#788)

Added

  • Support executing closures outside of the current selector scope (#784)

Changed

Fixed

  • Domain routing should only be optional (#776)
  • Fix for cookie assertions (#778)

Added

  • Support scrolling an element into view (#766)
  • Support navigating forward in the browser (#767)

Fixed

  • Trim trailing slash (#764)

Added

Changed

  • Dropped support for Laravel 5.7 & 5.8 (98af698, e0c173a)
  • Dropped support for PHP 7.1 (210e03e)
  • Dropped support for Carbon v1 (0b880e9)
  • Bumped minimum Symfony dependencies to 4.3 (1ee28e1)

Added

  • Add assert attribute methods (#751)

Fixed

  • Fix Call to undefined method (#750)
  • Avoid throwing exception on production (#755)

Added

  • Adds typeSlowly & appendSlowly (#748)

Fixed

  • Bugfix quoting for InteractsWithElements::value (#735)
  • Remove php-webdriver constraints (#737)

Fixed

  • Adds the missing import for InteractsWithMouse@clickAtXPath (#728)
  • Size sanity check at fitContent (#730)
  • Lock php-webdriver constraints for now (#733)

Added

  • Add clickAtXPath (#723, effe73d)
  • Add ProvidesBrowser::getCallerName() (#725)

Fixed

  • Fit content to <html> instead of <body> (#726)

Changed

  • Rename php-webdriver package (#720)
  • Update jQuery file (#721)

Fixed

  • Update fitContent() (#717)

Fixed

  • Cast boolean values to appropriate string (#713)

Added

Added

  • Automatically fit content on failures (#704)

Added

  • Support phpdotenv v4 (#699)

Fixed

  • scrollTo: add support for selectors with quotes (#697)

Changed

  • Allow for Symfony 5 (#696)

Fixed

  • Ensure jQuery for scrollTo (#686)
  • Added missing return statement in withDuskEnvironment (#691)
  • Prevent using pcntl when not installed (#692)

Added

  • Add scrollTo method (#684)

Fixed

  • Add graceful handler for SIGINT for .env restoration (#682, f843b8a)

Fixed

  • Improve detection of latest stable ChromeDriver release (#677)

Fixed

  • Update regular expression base on website changes (#674)

Added

  • Allow saving screenshots in a subdirectory (#662)

Added

  • Add assertion checks if a button is disabled or enabled (#661)

Fixed

  • Update constraints for Laravel 6.0 (e4b4d63)

Added

  • Add proxy support to the dusk:install command (#659)

Added

  • Add option to fullsize the browser (#655)

Fixed

  • Add latest version of Facebook Webdriver (#654)

Added

Fixed

  • Fix assertVueContains and assertVueDoesNotContain (#638)

Fixed

  • Fix cookies with falsey values (#617)
  • Fix with() and page assertions (#625)
  • Avoid deprecation messages on PHPUnit 8 (#620)

Added

  • Added support for phpunit.dusk.xml.dist (#610)
  • Use custom DISPLAY variable when set on Linux (#613, 2480495)

Fixed

  • Added missing dependencies (98eccfd)
  • Fix installation of Dotenv on Laravel 5.8 (1f67bf2)

Added

Changed

  • Update minimum Laravel version (fcb2226)
  • Update Symfony dependencies to latest version (788e79c)
  • Prefer stable dependencies (fdb2fd4)

Dusk 4.0.0 disables cookie serialization and is intended for use with Laravel 5.6.30 or later. If you are using a previous version of Laravel, please continue using Dusk 3.0.0.

v1.0.13 (2017-04-20)

Added

  • Added illuminate/console as dependency (#232)
  • Added security measurement against registering Dusk on production (#229)
  • Added PHP_BINARY constant to the list of PHP's executable binaries (#240)

Changed

  • Changed propagateScaffoldingToBrowser() to setUp() for compatibility with PHPUnit ~6.0 (#227)
  • Changed selected() comparison to always cast the value to string (#239)

Fixed

  • No longer throws exception when Tty is not available (#226)
  • Use getAttribute('value') instead of getText() for textarea elements (#237)
  • Fixed bug when giving strings with apostrophe to clickLink() (#228)

v1.0.12 (2017-04-07)

Added

  • Added automated tests for HTML elements identified by strings with a colon (#214)

Fixed

  • Support for colon on HTML id tag (#214)

v1.0.11 (2017-03-20)

Added

  • Added assertSelectHasOptions(), assertSelectMissingOptions(), assertSelectHasOption() and and assertSelectMissingOption() (#195)
  • Added purge console logs before starting tests (#193)
  • Added assertPathIsNot() (#183)
  • Added support for back button (#187)
  • Added waitForLocation() to allow waiting on window.location to be changed (#176)

Changed

  • Updated ChromeDriver to v2.28 so that it works with Chrome 57 (#199)
  • Comparison to option inside select will no longer be strict (#178)
  • Type-hint Browser for auto-complete support (#174)