Issue #3037436 by alexpott, jonathan1055, Wim Leers, catch, tedbow, longwave:...
Issue #3037436 by alexpott, jonathan1055, Wim Leers, catch, tedbow, longwave: [random test failure] Make QuickEditIntegrationTest more robust and fail proof
(cherry picked from commit 3d7dd76c)
(cherry picked from commit fdd88e0c)
@trigger_error('Calling '.__METHOD__.'() with 4 arguments is deprecated in drupal:9.1.0 and will throw an error in drupal:10.0.0. See https://www.drupal.org/project/drupal/issues/3037436',E_USER_DEPRECATED);
@trigger_error('Calling '.__METHOD__.'() with 4 arguments is deprecated in drupal:9.1.0 and will throw an error in drupal:10.0.0. See https://www.drupal.org/project/drupal/issues/3037436',E_USER_DEPRECATED);
}
if(!is_array($expected_field_attributes)){
thrownew\InvalidArgumentException('The $expected_field_attributes argument must be an array.');
$this->assertTrue($result[$quickedit_field_id],'Field '.$quickedit_field_id.' did not match its expectation selector ('.$expectation.'), actual HTML: '.$result[$quickedit_field_id]);