@@ -236,6 +236,25 @@ Feature: Configuring the theme_boost_union plugin for the "Support page" tab on
236236 Then I should see "Your accessibility support request was sent"
237237 # Unfortunately, the content of the email can't be tested with Behat yet as we do not have a way to test sent emails yet.
238238
239+ @javascript
240+ Scenario : Support form success notification is shown before content-upper blocks on the homepage
241+ Given the following config values are set as admin:
242+ | config | value | plugin |
243+ | defaulthomepage | Home | |
244+ | enableaccessibilitysupport | yes | theme_boost_union |
245+ | blockregionsforfrontpage | content -upper | theme_boost_union |
246+ And the following "blocks" exist:
247+ | blockname | contextlevel | reference | pagetypepattern | defaultregion |
248+ | online_users | Course | Acceptance test site | site -index | content -upper |
249+ When I log in as "admin"
250+ And I am on site homepage
251+ And I should see "Online users" in the "#theme-block-region-content-upper" "css_element"
252+ And I am on accessibilitysupport page
253+ And I set the field "Message" to "Frontpage notification order test"
254+ And I click on "Submit" "button"
255+ And I wait until the page is ready
256+ Then "Your accessibility support request was sent" "text" should appear before ".block_online_users" "css_element"
257+
239258 # Unfortunately, this can't be tested with Behat yet as we do not have a way to test sent emails yet (or rather block the sending of the email).
240259 # Scenario: Sending the accessibility support form fails and the fallback message is shown
241260
0 commit comments