Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
@core @core_admin @core_webservice @javascript
2
Feature: Verify the breadcrumbs in webservice tokens site administration pages
3
  Whenever I navigate to manage tokens 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 manage tokens page as an admin
11
    Given the following "users" exist:
12
      | username | firstname | lastname | email          |
13
      | student1 | John      | Doe      | s1@example.com |
14
    And I log in as "admin"
15
    And I navigate to "Server > Web services > Manage tokens" in site administration
16
    And I click on "Create token" "button"
17
    And "Create token" "text" should exist in the ".breadcrumb" "css_element"
18
    And "Manage tokens" "link" should exist in the ".breadcrumb" "css_element"
19
    And "Web services" "link" should exist in the ".breadcrumb" "css_element"
20
    And I set the field "User" to "John Doe"
21
    And I set the field "Service" to "Moodle mobile web service"
22
    And I press "Save changes"
23
    When I press "Delete" action in the "John Doe" report row
24
    Then "Delete token" "text" should exist in the ".breadcrumb" "css_element"
25
    And "Manage tokens" "link" should exist in the ".breadcrumb" "css_element"
26
    And "Web services" "link" should exist in the ".breadcrumb" "css_element"