Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/monara/public_html/test.athavaneng.com/themes.php on line 99

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
@core @core_block Feature: Block removal via modal In order to remove blocks As a teacher I need to use a modal to confirm the block to delete Background: Given the following "courses" exist: | fullname | shortname | category | | Course 1 | C1 | 0 | And I log in as "admin" And I am on "Course 1" course homepage with editing mode on And I add the "Search forums" block And "Search forums" "block" should exist @javascript Scenario: Removing a block via modal should remove the block on the page Given I open the "Search forums" blocks action menu When I click on "Delete Search forums block" "link" in the "Search forums" "block" Then "Delete block?" "dialogue" should exist And I click on "Delete" "button" in the "Delete block?" "dialogue" And I wait to be redirected And "Search forums" "block" should not exist @javascript Scenario: Cancel removing a block via modal should retain the block on the page Given I open the "Search forums" blocks action menu When I click on "Delete Search forums block" "link" in the "Search forums" "block" Then "Delete block?" "dialogue" should exist And I click on "Cancel" "button" in the "Delete block?" "dialogue" And I should not see "Delete block?" And "Search forums" "block" should exist