Problem/Motivation
This test failed on Drupal 11.3, but works as expected on Drupal 11.2
Drupal\Tests\html_title\Functional\HtmlTitleViewsTest::testViewsRssStyle
Behat\Mink\Exception\ExpectationException: The string "Test sup-tag" was not found anywhere in the HTML response of the current page.
Proposed resolution
Need to investigate and fix it (I thinks this problem is related to the optional configs in Drupal 11.3)
Issue fork html_title-3570745
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
atoll commentedComment #4
atoll commentedHtmlTitleViewsTest::testViewsRssStyle() fails on Drupal 11.3, while it works earlier versions.
The RSS feed at /rss.xml no longer includes nodes unless they are promoted to the front page.
Test nodes were published but not promoted, so the feed contained no elements and the expected titles were missing.
Proposed resolution:
Explicitly mark all test nodes as promoted by setting:
'promote' => TRUEwhen creating nodes in the test setup.
In this case test passes on Drupal 11.3 and continues to work as expected on earlier versions.
Comment #5
vitaliyb98 commentedHi, thanks for your fix!