Feature: Email Formatting - Spacer block
Given : I have a new email open in the visual editor #EmailEditorStepDefs.iHaveANewEmailOpenInTheVisualEditor()
And : I choose to start my email design from scratch #EmailEditorTemplateSelectorStepDefs.iChooseToStartFromScratch()
And : I have the "Blocks Toolbar" open #EmailEditorStepDefs.iHaveTheMenuToolBarOpen(String)
And : the canvas has the following configuration: #EmailEditorCanvasStepDefs.theCanvasHasTheFollowingConfiguration(DataTable)
Panel | No. of columns | Attached content |
---|---|---|
clear | 1 | spacer |
And : I format the canvas "spacer" "0,0,0,0" to have "padding all" set to "20" #EmailEditorComponentStylingStepDefs.iFormatTheCanvasItemToHavePropertySetToValue(String,String,String,String)
Then : the canvas "block" item "0,0,0,0" should have the css property "padding all" set to "20px,20px,null,null" #EmailEditorComponentStylingStepDefs.theCanvasItemShouldHaveTheCssPropertySetToSomething(String,String,String,String)
Given : I have a new email open in the visual editor #EmailEditorStepDefs.iHaveANewEmailOpenInTheVisualEditor()
And : I choose to start my email design from scratch #EmailEditorTemplateSelectorStepDefs.iChooseToStartFromScratch()
And : I have the "Blocks Toolbar" open #EmailEditorStepDefs.iHaveTheMenuToolBarOpen(String)
And : the canvas has the following configuration: #EmailEditorCanvasStepDefs.theCanvasHasTheFollowingConfiguration(DataTable)
Panel | No. of columns | Attached content |
---|---|---|
clear | 1 | spacer |
And : I format the canvas "spacer" "0,0,0,0" to have "padding top" set to "20" #EmailEditorComponentStylingStepDefs.iFormatTheCanvasItemToHavePropertySetToValue(String,String,String,String)
Then : the canvas "block" item "0,0,0,0" should have the css property "padding-top" set to "20px" #EmailEditorComponentStylingStepDefs.theCanvasItemShouldHaveTheCssPropertySetToSomething(String,String,String,String)
Given : I have a new email open in the visual editor #EmailEditorStepDefs.iHaveANewEmailOpenInTheVisualEditor()
And : I choose to start my email design from scratch #EmailEditorTemplateSelectorStepDefs.iChooseToStartFromScratch()
And : I have the "Blocks Toolbar" open #EmailEditorStepDefs.iHaveTheMenuToolBarOpen(String)
And : the canvas has the following configuration: #EmailEditorCanvasStepDefs.theCanvasHasTheFollowingConfiguration(DataTable)
Panel | No. of columns | Attached content |
---|---|---|
clear | 1 | spacer |
And : I format the canvas "spacer" "0,0,0,0" to have "padding bottom" set to "15" #EmailEditorComponentStylingStepDefs.iFormatTheCanvasItemToHavePropertySetToValue(String,String,String,String)
Then : the canvas "block" item "0,0,0,0" should have the css property "padding-bottom" set to "15px" #EmailEditorComponentStylingStepDefs.theCanvasItemShouldHaveTheCssPropertySetToSomething(String,String,String,String)