diff -u b/core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php b/core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php --- b/core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php +++ b/core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php @@ -78,10 +78,8 @@ // Clear the search and see if the new number of rows is set by announce. $options_search->setValue(''); - $block_rows = $page->findAll('css', 'tr.filterable-option'); - $block_row_count = count($block_rows); - $session->wait(10000, 'jQuery("#drupal-live-announce").html().indexOf("' . $block_row_count . ' options are available") > -1'); - $web_assert->elementTextContains('css', '#drupal-live-announce', $block_row_count . ' options are available in the modified list.'); + $session->wait(10000, 'jQuery("#drupal-live-announce").html().indexOf("66 options are available") > -1'); + $web_assert->elementTextContains('css', '#drupal-live-announce', '66 options are available in the modified list.'); } }