Commit b89c8ddf authored by Robert Lyon's avatar Robert Lyon

Bug 1827305: add_tags behat failing due to external media loading

Because the external media loading takes focus from next add block we
should do this one last to avoid the clash.

Change-Id: If89a658fd5be4578052ede703299832a0498eac4
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit e6069b7c)
parent 0802595f
......@@ -85,19 +85,20 @@ Background:
| Block title | Text Block 101 |
And I fill in select2 input "instconf_tags" with "ébrown" and select "ébrown"
And I press "Save"
# Creating an external video block with a tag
And I expand "External" node
And I follow "External media" in the "blocktype sidebar" property
And I press "Add"
And I fill in "URL or embed code" with "https://youtu.be/VeS1iqQ6VIc"
And I fill in select2 input "instconf_tags" with "ègreen" and select "ègreen"
And I press "Save"
# Creating a resume field with a tag
And I expand "Personal info" node
And I follow "One résumé field" in the "blocktype sidebar" property
And I press "Add"
And I fill in select2 input "instconf_tags" with "êyellow" and select "êyellow"
And I press "Save"
# Creating an external video block with a tag
# need to do this one last as the loading of video effects takes focus away from the add block modal
And I expand "External" node
And I follow "External media" in the "blocktype sidebar" property
And I press "Add"
And I fill in "URL or embed code" with "https://www.youtube.com/embed/VeS1iqQ6VIc"
And I fill in select2 input "instconf_tags" with "ègreen" and select "ègreen"
And I press "Save"
And I choose "Pages and collections" in "Create" from main menu
Then I follow "Tags" in the "#sb-tags" "css_element"
# Verifying tags are saved
......
Markdown is supported
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