8000 Merge branch '4.4' · symfony/symfony-docs@65e7524 · GitHub
[go: up one dir, main page]

Skip to content

Commit 65e7524

Browse files
committed
Merge branch '4.4'
* 4.4: Updated the note about Symfony Panther and WebTestCase assertions
2 parents 3a8db36 + 217d157 commit 65e7524

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
@@ -67,12 +67,10 @@ Crawler
6767
- ``assertInputValueSame()``
6868
- ``assertInputValueNotSame()``
6969

70-
Troubleshooting
71-
---------------
70+
.. versionadded:: 4.4
7271

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

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

0 commit comments

Comments
 (0)
0