Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@javascript @theme_boost
2
Feature: Welcome message on boost
3
  To be welcome in moodle
4
  As a User
5
  I need to see a welcome message on the first page
6
 
1441 ariadna 7
  @accessibility
1 efrain 8
  Scenario: Login and be welcomed on the homepage
9
    Given the following config values are set as admin:
10
      | defaulthomepage | 0 |
11
    When I log in as "admin"
1441 ariadna 12
    Then I should see "Acceptance test site" in the "page-header" "region"
1 efrain 13
    And I should see "Welcome, Admin!" in the "page-header" "region"
14
    And I reload the page
15
    And I should not see "Welcome, Admin!" in the "page-header" "region"
16
    And I should see "Acceptance test site" in the "page-header" "region"
1441 ariadna 17
    And the page should meet accessibility standards
1 efrain 18
 
1441 ariadna 19
  @accessibility
1 efrain 20
  Scenario: Login and be welcomed on the dashboard
21
    Given the following config values are set as admin:
22
      | defaulthomepage | 1 |
23
    When I log in as "admin"
1441 ariadna 24
    Then I should see "Dashboard" in the "page-header" "region"
1 efrain 25
    And I should see "Welcome, Admin!" in the "page-header" "region"
26
    And I reload the page
27
    And I should not see "Welcome, Admin!" in the "page-header" "region"
28
    And I should see "Dashboard" in the "page-header" "region"
1441 ariadna 29
    And the page should meet accessibility standards with "best-practice" extra tests
1 efrain 30
 
1441 ariadna 31
  @accessibility
1 efrain 32
  Scenario: Login and be welcomed on the my courses page
33
    Given the following config values are set as admin:
34
      | defaulthomepage | 3 |
35
    When I log in as "admin"
1441 ariadna 36
    Then I should see "My courses" in the "page-header" "region"
1 efrain 37
    And I should see "Welcome, Admin!" in the "page-header" "region"
38
    And I reload the page
39
    And I should not see "Welcome, Admin!" in the "page-header" "region"
40
    And I should see "My courses" in the "page-header" "region"
1441 ariadna 41
    And the page should meet accessibility standards