@@ -982,9 +982,15 @@ Crawler Assertions
982
982
``assertSelectorTextContains(string $selector, string $text, string $message = '') ``/``assertSelectorTextNotContains(string $selector, string $text, string $message = '') ``
983
983
Asserts that the first element matching the given selector does (not)
984
984
contain the expected text.
985
+ ``assertAnySelectorTextContains(string $selector, string $text, string $message = '') ``/``assertAnySelectorTextNotContains(string $selector, string $text, string $message = '') ``
986
+ Asserts that any element matching the given selector does (not)
987
+ contain the expected text.
985
988
``assertSelectorTextSame(string $selector, string $text, string $message = '') ``
986
989
Asserts that the contents of the first element matching the given
987
990
selector does equal the expected text.
991
+ ``assertAnySelectorTextSame(string $selector, string $text, string $message = '') ``
992
+ Asserts that the any element matching the given selector does equal the
993
+ expected text.
988
994
``assertPageTitleSame(string $expectedTitle, string $message = '') ``
989
995
Asserts that the ``<title> `` element is equal to the given title.
990
996
``assertPageTitleContains(string $expectedTitle, string $message = '') ``
@@ -1002,6 +1008,11 @@ Crawler Assertions
1002
1008
1003
1009
The ``assertSelectorCount() `` method was introduced in Symfony 6.3.
1004
1010
1011
+ .. versionadded :: 6.4
1012
+
1013
+ The ``assertAnySelectorTextContains() ``, ``assertAnySelectorTextNotContains() ``
1014
+ and ``assertAnySelectorTextSame() `` were introduced in Symfony 6.4.
1015
+
1005
1016
.. _mailer-assertions :
1006
1017
1007
1018
Mailer Assertions
0 commit comments