Proyectos de Subversion Moodle

Rev

Autoría | Ultima modificación | Ver Log |

@core @core_grades @javascript
Feature: Verify the breadcrumbs in grade outcomes site administration pages
  Whenever I navigate to advanced features page in site administration
  As an admin
  The breadcrumbs should be visible

  Background:
    Given I log in as "admin"

  Scenario: Verify the breadcrumbs in grades outcomes by adding a new outcome, visiting editing page and visiting delete page as an admin
    Given I navigate to "Advanced features" in site administration
    And I click on "Enable outcomes" "checkbox"
    And I press "Save changes"
    And I navigate to "Grades > Outcomes" in site administration
    And I click on "Add a new outcome" "button"
    And "Add an outcome" "text" should exist in the ".breadcrumb" "css_element"
    And "Outcomes" "link" should exist in the ".breadcrumb" "css_element"
    And I set the field "Full name" to "Outcome test"
    And I set the field "Short name" to "outcome_test"
    And I press "Save changes"
    When I click on "Edit" "link"
    Then "Edit outcome" "text" should exist in the ".breadcrumb" "css_element"
    And "Outcomes" "link" should exist in the ".breadcrumb" "css_element"
    And I press "Cancel"
    And I click on "Delete" "link"
    And "Delete outcome" "text" should exist in the ".breadcrumb" "css_element"
    And "Outcomes" "link" should exist in the ".breadcrumb" "css_element"