- Issue created by @sboden
I debugged both Drupal 10 and Drupal 11.
The results:
In WebAssert.php method pageTextContains(), there's following line to get the contents of the page:$actual = $this->session->getPage()->getText();
And in Drupal 10 the responsive tables on the page are in $actual. While in Drupal 11 using the exact same code and database, the responsive tables seem to be filtered out.
When I do a local hack to:
$actual = $this->session->getDriver()->getContent();
it usually works, but also not in all cases as that will output the contents as html. If you have text that crosses tags that it also fails.
So the change is "damned if you, damned if you don't".It's a small change behaviour, which is going to cause a lot of rework for a lot of people.