Commit 7b22ff4e authored by spokje's avatar spokje Committed by Derek Wright
Browse files

Issue #3261254 by Spokje, dww: Failing test...

Issue #3261254 by Spokje, dww: Failing test Drupal\Tests\quickedit\FunctionalJavascript\SettingsTrayIntegrationTest::testQuickEditLinks
parent d6862ffb
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -41,7 +41,6 @@ class SettingsTrayIntegrationTest extends SettingsTrayTestBase {
      'access in-place editing',
    ]);
    $this->drupalLogin($user);

  }

  /**
@@ -52,7 +51,7 @@ class SettingsTrayIntegrationTest extends SettingsTrayTestBase {
    $node_selector = '[data-quickedit-entity-id="node/1"]';
    $body_selector = '[data-quickedit-field-id="node/1/body/en/full"]';
    $web_assert = $this->assertSession();
    // Create a Content type and two test nodes.
    // Create a Content type and a test node.
    $this->createContentType(['type' => 'page']);
    $auth_role = Role::load(Role::AUTHENTICATED_ID);
    $this->grantPermissions($auth_role, [
@@ -75,10 +74,9 @@ class SettingsTrayIntegrationTest extends SettingsTrayTestBase {
    $block_plugin = 'system_powered_by_block';

    foreach ($this->getTestThemes() as $theme) {

      $this->enableTheme($theme);

      $block = $this->placeBlock($block_plugin);
      $block = $this->placeBlock($block_plugin, ['region' => 'header']);
      $block_selector = $this->getBlockSelector($block);
      // Load the same page twice.
      foreach ([1, 2] as $page_load_times) {