From 53daecd99ad4e9cc041dbb5aace84c47a56a4307 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Thu, 4 Jul 2019 17:49:53 +0200 Subject: [PATCH] Updated the note about Symfony Panther and WebTestCase assertions --- testing/functional_tests_assertions.rst | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/testing/functional_tests_assertions.rst b/testing/functional_tests_assertions.rst index 63482dd046b..ed1e4eccf19 100644 --- a/testing/functional_tests_assertions.rst +++ b/testing/functional_tests_assertions.rst @@ -72,12 +72,10 @@ Crawler - ``assertInputValueSame()`` - ``assertInputValueNotSame()`` -Troubleshooting ---------------- +.. versionadded:: 4.4 -These assertions will not work with `symfony/panther`_ as they use the -``Request`` and ``Response`` objects from the ``HttpFoundation`` -component, and the ``KernelBrowser`` from the ``FrameworkBundle``. -Panther only uses the ``BrowserKit`` component. + Starting from Symfony 4.4, when using `symfony/panther`_ for end-to-end + testing, you can use all the above assertions except the ones related to + the :doc:`Crawler `. .. _`symfony/panther`: https://github.com/symfony/panther