diff -u b/core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php b/core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php --- b/core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php @@ -275,11 +275,6 @@ // Assert that the row position is correct by checking that the id // corresponds. $this->assertSession()->hiddenFieldValueEquals("table[$id][id]", $id, $row); - // To wait until all the JS DOM manipulations are done, wait for the parent - // input field to be updated. - $row->waitFor(10, function () use ($row, $id, $parent) { - return $row->find('xpath', "//input[@type='hidden'][@name='table[$id][parent]'][@value='{$parent}']"); - }); $this->assertSession()->hiddenFieldValueEquals("table[$id][parent]", $parent, $row); $this->assertSession()->fieldValueEquals("table[$id][weight]", $weight, $row); $this->assertSession()->elementsCount('css', '.js-indentation.indentation', $indentation, $row);