Loading core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditIntegrationTest.php +11 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,6 @@ protected function setUp(): void { * Tests if an article node can be in-place edited with Quick Edit. */ public function testArticleNode() { $this->markTestSkipped(); $term = Term::create([ 'name' => 'foo', 'vid' => 'tags', Loading @@ -138,6 +137,17 @@ public function testArticleNode() { ], ]); // Move "tags" field to the top of all fields, so its Quick Edit Toolbar // won't overlap any Quick Edit-able fields, which causes (semi-)random test // failures. \Drupal::entityTypeManager() ->getStorage('entity_view_display') ->load('node.article.default') ->setComponent('field_tags', [ 'type' => 'entity_reference_label', 'weight' => 0, ])->save(); $this->drupalGet('node/' . $node->id()); // Initial state. Loading Loading
core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditIntegrationTest.php +11 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,6 @@ protected function setUp(): void { * Tests if an article node can be in-place edited with Quick Edit. */ public function testArticleNode() { $this->markTestSkipped(); $term = Term::create([ 'name' => 'foo', 'vid' => 'tags', Loading @@ -138,6 +137,17 @@ public function testArticleNode() { ], ]); // Move "tags" field to the top of all fields, so its Quick Edit Toolbar // won't overlap any Quick Edit-able fields, which causes (semi-)random test // failures. \Drupal::entityTypeManager() ->getStorage('entity_view_display') ->load('node.article.default') ->setComponent('field_tags', [ 'type' => 'entity_reference_label', 'weight' => 0, ])->save(); $this->drupalGet('node/' . $node->id()); // Initial state. Loading