All Versions
21
Latest Version
Avg Release Cycle
67 days
Latest Release
-

Changelog History
Page 1

  • v2.0.1 Changes

    • 🛠 Fix accessing PantherTestCaseTrait::$webServerDir before initialization
  • v2.0.0 Changes

    • 👍 Allow Symfony 6
    • ➕ Add type declarations everywhere possible
    • ✂ Remove Support for Symfony 4.4
  • v1.1.2 Changes

    • 👍 Allow deprecation-contracts 3
    • 🛠 Fix Form::offsetGet() return type
  • v1.1.1 Changes

    • 🛠 Fix a bug preventing to disable the headless mode
  • v1.1.0 Changes

    • ➕ Add a PANTHER_DEVTOOLS environment variable to disable the dev tools
    • Add a PANTHER_ERROR_SCREENSHOT_ATTACH environment variable to attach screenshots to PHPUnit reports in the JUnit format
    • ➕ Add a chromedriver_arguments option to pass custom arguments to Chromedriver
    • ➕ Add an env option to pass custom environment variables to the built-in web server from PantherTestCase
    • ➕ Add the possibility to pass options to ChromeManager
    • Automatically find the Chromedriver binary installed by lanfest/binary-chromedriver
    • Symfony 5.3 compatibility
    • 🛠 Fix assertions that were not working with clients other than PantherClient
    • 🛠 Fix the ability to keep the window of the browser open when a test fail by using the --debug option
    • 🛠 Fix the ServerExtension when registerClient() is called multiple times
    • 🛠 Fix undefined constant errors when using PantherTestCaseTrait directly
  • v1.0.1 Changes

    • Fix storing screenshots in the wrong directory when PANTHER_ERROR_SCREENSHOT_DIR is enabled
  • v1.0.0 Changes

    • ➕ Add Client::waitForEnabled(), Client::waitForDisabled(), Client::waitForAttributeToContain() and Client::waitForAttributeToNotContain() methods
    • ➕ Add PantherTestCase::assertSelectorAttributeContains(), PantherTestCase::assertSelectorAttributeNotContains(), PantherTestCase::assertSelectorWillExist(), PantherTestCase::assertSelectorWillNotExist(), PantherTestCase::assertSelectorWillBeVisible(), PantherTestCase::assertSelectorWillNotBeVisible(), PantherTestCase::assertSelectorWillContain(), PantherTestCase::assertSelectorWillNotContain(), PantherTestCase::assertSelectorWillBeEnabled(), PantherTestCase::assertSelectorWillBeDisabled, PantherTestCase::assertSelectorAttributeWillContain(), and PantherTestCase::assertSelectorAttributeWillNotContain() assertions
    • Automatically take a screenshot when a test fail and if the PANTHER_ERROR_SCREENSHOT_DIR environment variable is set
    • ➕ Add missing return types
    • 💥 Breaking Change: Remove the deprecated PHPUnit listener, use the PHPUnit extension instead
    • 💥 Breaking Change: Remove deprecated support for Goutte, use HttpBrowser instead
    • 💥 Breaking Change: Remove deprecated support for PANTHER_CHROME_DRIVER_BINARY and PANTHER_GECKO_DRIVER_BINARY environment variables, add the binaries in your PATH instead
    • Don't allow unserializing classes with a destructor
  • v0.9.0 Changes

    • 💥 Breaking Change: ChromeDriver and geckodriver binaries are not included in the archive anymore and must be installed separately, [refer to the documentation](README.md#installing-chromedriver-and-geckodriver)
    • PHP 8 compatibility
    • ➕ Add Client::waitForStaleness() method to wait for an element to be removed from the DOM
    • ➕ Add Client::waitForInvisibility() method to wait for an element to be invisible
    • ➕ Add Client::waitForElementToContain() method to wait for an element containing the given parameter
    • ➕ Add Client::waitForElementToNotContain() method to wait for an element to not contain the given parameter
    • ➕ Add PantherTestCase::assertSelectorIsVisible(), PantherTestCase::assertSelectorIsNotVisible(), PantherTestCase::assertSelectorIsEnabled() and PantherTestCase::assertSelectorIsDisabled() assertions
    • 🛠 Fix baseUri not taken into account when using Symfony HttpBrowser
  • v0.8.0 Changes

    October 03, 2020
    • ⬆️ Upgrade ChromeDriver to version 85.0.4183.87
    • ⬆️ Upgrade geckodriver to version 0.27.0
    • ➕ Add a Client::waitForVisibility() method to wait for an element to appear
    • 👍 Allow passing options to the browser manager from PantherTestCase::createPantherClient()
    • ➕ Add a Client::ping() method to check if the WebDriver connection is still active
    • 🛠 Fix setting a new value to an input field when there is an existing value
    • 👌 Improve the error message when the web server crashes
    • Throw an explanative LogicException when driver is not started yet
    • 🌐 Prevent timeouts caused by the integrated web server
    • 🛠 Fix the value of cookie secure flags
    • 👻 Throw an exception when getting history (unsupported feature)
    • ➕ Add docs to use Panther with GitHub Actions
    • 📚 Various bug fixes and documentation improvements
  • v0.7.1 Changes

    February 24, 2020
    • 🛠 Fix some inconsistencies between Chrome and Firefox