Skip to content
Snippets Groups Projects
Commit f192f65b authored by Jess's avatar Jess
Browse files

Issue #3029061 by tim.plunkett, phenaproxima: New layouts are missing config schema

parent 80183743
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -64,3 +64,16 @@ inline_block:
block.settings.inline_block:*:
type: inline_block
layout_builder_multi_width:
type: layout_plugin.settings
mapping:
column_widths:
type: string
label: 'Column widths'
layout_plugin.settings.layout_twocol_section:
type: layout_builder_multi_width
layout_plugin.settings.layout_threecol_section:
type: layout_builder_multi_width
......@@ -100,6 +100,12 @@ public function testWidthChange() {
$page->findField('layout_settings[column_widths]')->setValue($width);
$page->pressButton("Update");
$this->assertWidthClassApplied($width_class);
// Save the layout and return to the Layout Builder UI for more changes.
$assert_session->pageTextContains('You have unsaved changes.');
$page->clickLink('Save Layout');
$assert_session->pageTextNotContains('You have unsaved changes.');
$this->clickLink('Manage layout');
}
$assert_session->linkExists('Remove section');
$this->clickLink('Remove section');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment