8000 Updated the note about Symfony Panther and WebTestCase assertions · symfony/symfony-docs@53daecd · GitHub
[go: up one dir, main page]

Skip to content

Commit 53daecd

Browse files
committed
Updated the note about Symfony Panther and WebTestCase assertions
1 parent 36520c9 commit 53daecd

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

testing/functional_tests_assertions.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,10 @@ Crawler
7272
- ``assertInputValueSame()``
7373
- ``assertInputValueNotSame()``
7474

75-
Troubleshooting
76-
---------------
75+
.. versionadded:: 4.4
7776

78-
These assertions will not work with `symfony/panther`_ as they use the
79-
``Request`` and ``Response`` objects from the ``HttpFoundation``
80-
component, and the ``KernelBrowser`` from the ``FrameworkBundle``.
81-
Panther only uses the ``BrowserKit`` component.
77+
Starting from Symfony 4.4, when using `symfony/panther`_ for end-to-end
78+
testing, you can use all the above assertions except the ones related to
79+
the :doc:`Crawler </components/dom_crawler>`.
8280

8381
.. _`symfony/panther`: https://github.com/symfony/panther

0 commit comments

Comments
 (0)
0