Skip to content

Latest commit

 

History

History
489 lines (277 loc) · 19.9 KB

CHANGELOG.md

File metadata and controls

489 lines (277 loc) · 19.9 KB

Release Notes

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)