Skip to content
Snippets Groups Projects
Commit 2afbc90f authored by Luke.Leber's avatar Luke.Leber Committed by bkosborne
Browse files

Issue #3279507 by Luke.Leber: Tests are broken in HEAD

parent ebbf2635
No related branches found
Tags 8.x-1.0-beta5
No related merge requests found
......@@ -72,6 +72,7 @@ class LayoutBuilderStyleGroupTest extends BrowserTestBase {
$this->drupalLogin($this->drupalCreateUser([
'configure any layout',
'manage layout builder styles',
'manage layout builder style groups',
]));
LayoutBuilderStyleGroup::create([
......@@ -156,7 +157,7 @@ class LayoutBuilderStyleGroupTest extends BrowserTestBase {
])->save();
// Confirm we cannot delete a group that has styles associated with it.
$this->drupalGet('/admin/config/content/layout_builder_style/group/default/delete');
$this->drupalGet('/admin/config/content/layout_builder_style/group/testsingle/delete');
$assert_session->responseContains('You may not remove this group');
$this->drupalGet('/admin/config/content/layout_builder_style/group/testempty/delete');
$assert_session->responseNotContains('You may not remove this group');
......
......@@ -172,7 +172,7 @@ class LayoutBuilderStyleTest extends BrowserTestBase {
$page->clickLink('Add block');
$page->clickLink('Powered by Drupal');
// Verify that only a single option may be selected.
$assert_session->elementExists('css', 'fieldset input[name=layout_builder_style_group]');
$assert_session->elementExists('css', '[name=layout_builder_style_group]');
$page->selectFieldOption('layout_builder_style_group', 'Foobar');
$page->pressButton('Add block');
$page->pressButton('Save layout');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment