Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@core @core_grades @javascript
2
Feature: Verify the breadcrumbs in grade outcomes site administration pages
3
  Whenever I navigate to advanced features page in site administration
4
  As an admin
5
  The breadcrumbs should be visible
6
 
7
  Background:
8
    Given I log in as "admin"
9
 
10
  Scenario: Verify the breadcrumbs in grades outcomes by adding a new outcome, visiting editing page and visiting delete page as an admin
11
    Given I navigate to "Advanced features" in site administration
12
    And I click on "Enable outcomes" "checkbox"
13
    And I press "Save changes"
14
    And I navigate to "Grades > Outcomes" in site administration
15
    And I click on "Add a new outcome" "button"
16
    And "Add an outcome" "text" should exist in the ".breadcrumb" "css_element"
17
    And "Outcomes" "link" should exist in the ".breadcrumb" "css_element"
18
    And I set the field "Full name" to "Outcome test"
19
    And I set the field "Short name" to "outcome_test"
20
    And I press "Save changes"
21
    When I click on "Edit" "link"
22
    Then "Edit outcome" "text" should exist in the ".breadcrumb" "css_element"
23
    And "Outcomes" "link" should exist in the ".breadcrumb" "css_element"
24
    And I press "Cancel"
25
    And I click on "Delete" "link"
26
    And "Delete outcome" "text" should exist in the ".breadcrumb" "css_element"
27
    And "Outcomes" "link" should exist in the ".breadcrumb" "css_element"