diff --git a/core/modules/menu_ui/tests/src/Functional/MenuTest.php b/core/modules/menu_ui/tests/src/Functional/MenuTest.php index 24a218b57c..398aa9e613 100644 --- a/core/modules/menu_ui/tests/src/Functional/MenuTest.php +++ b/core/modules/menu_ui/tests/src/Functional/MenuTest.php @@ -216,7 +216,7 @@ public function addCustomMenu() { // Confirm that the custom menu block is available. $this->drupalGet('admin/structure/block/list/' . $this->config('system.theme')->get('default')); - $this->clickLinkPartialName('Place block'); + $this->clickLink('Place block'); $this->assertText($label); // Enable the block. @@ -531,7 +531,7 @@ public function testSystemMenuRename() { // Make sure menu shows up with new name in block addition. $default_theme = $this->config('system.theme')->get('default'); $this->drupalget('admin/structure/block/list/' . $default_theme); - $this->clickLinkPartialName('Place block'); + $this->clickLink('Place block'); $this->assertText($edit['label']); }