Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@tool @tool_oauth2 @external @javascript
2
Feature: OAuth2 email verification
3
  In order to make sure administrators understand the ramifications of email verification
4
  As an administrator
5
  I should see email verifications notifications when configuring an Oauth2 provider.
6
 
7
  Background:
8
    Given I log in as "admin"
9
    And I change window size to "large"
10
    And I navigate to "Server > OAuth 2 services" in site administration
11
 
12
  Scenario: Create, edit and delete standard service for Google toggling email verification.
13
    Given I press "Google"
14
    And I should see "Create new service: Google"
15
    And I set the following fields to these values:
16
      | Name                       | Testing service                           |
17
      | Client ID                  | thisistheclientid                         |
18
      | Client secret              | supersecret                               |
19
    Then I should not see "I understand that disabling email verification can be a security issue."
20
    And I click on "Require email verification" "checkbox"
21
    And I should see "I understand that disabling email verification can be a security issue."
22
    And I click on "I understand that disabling email verification can be a security issue." "checkbox"
23
    And I press "Save changes"
24
    And I should see "Changes saved"
25
    And I click on "Edit" "link" in the "Testing service" "table_row"
26
    And I press "Save changes"
27
    And I should see "Required"
28
    And I click on "Require email verification" "checkbox"
29
    And I press "Save changes"
30
    And I should see "Changes saved"