Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@tool @tool_monitor @javascript
2
Feature: Verify the breadcrumbs in different event monitor site administration pages
3
  Whenever I navigate to event monitoring page in site administration
4
  As an admin
5
  The breadcrumbs should be visible
6
  Whenever I land on pages to add a new rule, edit rule or delete rule
7
  As an admin
8
  The breadcrumbs should be visible
9
 
10
  Background:
11
    Given I log in as "admin"
12
 
13
  Scenario: Verify the breadcrumbs in event monitoring page by visiting add a new rule, edit a rule and delete rule pages as an admin
14
    Given I navigate to "Reports > Event monitoring rules" in site administration
15
    And I click on "Enable" "link"
16
    When I click on "Add a new rule" "link"
17
    Then "Add a new rule" "text" should exist in the ".breadcrumb" "css_element"
18
    And "Event monitoring rules" "link" should exist in the ".breadcrumb" "css_element"
19
    And I set the field "Rule name" to "Testing1"
20
    And I set the field "Area to monitor" to "Subsystem (core)"
21
    And I set the field "Event" to "Allow role override"
22
    And I press "Save changes"
23
    And I click on "Edit rule" "link"
24
    And "Edit rule" "text" should exist in the ".breadcrumb" "css_element"
25
    And "Event monitoring rules" "link" should exist in the ".breadcrumb" "css_element"
26
    And I press "Cancel"
27
    And I click on "Delete rule" "link"
28
    And "Delete rule" "text" should exist in the ".breadcrumb" "css_element"
29
    And "Event monitoring rules" "link" should exist in the ".breadcrumb" "css_element"