Skip to content

Commit 031bd21

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

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

testing/functional_tests_assertions.rst

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

75-
Troubleshooting
76-
---------------
75+
.. note::
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+
When using `symfony/panther`_ for end-to-end testing, you can use all the
78+
above ssertions except the ones related to the Crawler.
8279

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

0 commit comments

Comments
 (0)