Loading tests/src/FunctionalJavascript/SettingsTrayIntegrationTest.php +2 −4 Original line number Diff line number Diff line Loading @@ -41,7 +41,6 @@ class SettingsTrayIntegrationTest extends SettingsTrayTestBase { 'access in-place editing', ]); $this->drupalLogin($user); } /** Loading @@ -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, [ Loading @@ -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) { Loading Loading
tests/src/FunctionalJavascript/SettingsTrayIntegrationTest.php +2 −4 Original line number Diff line number Diff line Loading @@ -41,7 +41,6 @@ class SettingsTrayIntegrationTest extends SettingsTrayTestBase { 'access in-place editing', ]); $this->drupalLogin($user); } /** Loading @@ -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, [ Loading @@ -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) { Loading