Commit d816285c authored by Lily Yan's avatar Lily Yan Committed by Liam Morland
Browse files

ISTWCMS-4764 Make sure the top-level remove button does not exist

parent c582ecc9
......@@ -1208,6 +1208,8 @@ class UwWcmsBasicTest extends BrowserTestBase {
$this->clickLink('Add block');
$this->clickLink('Facts and figures');
// The top-level remove button doesn't exist.
$options = $this->getOptions('settings[block_form][field_uw_ff_fact_figure][0][subform][field_uw_ff_def_color]');
foreach ($options as $option) {
$this->assertNotEqual('- None -', $option);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment