Proyectos de Subversion Moodle

Rev

| 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
 
7
  Scenario: Login and be welcomed on the homepage
8
    Given the following config values are set as admin:
9
      | defaulthomepage | 0 |
10
    When I log in as "admin"
11
    Then I should not see "Acceptance test site" in the "page-header" "region"
12
    And I should see "Welcome, Admin!" in the "page-header" "region"
13
    And I reload the page
14
    And I should not see "Welcome, Admin!" in the "page-header" "region"
15
    And I should see "Acceptance test site" in the "page-header" "region"
16
 
17
  Scenario: Login and be welcomed on the dashboard
18
    Given the following config values are set as admin:
19
      | defaulthomepage | 1 |
20
    When I log in as "admin"
21
    Then I should not see "Dashboard" in the "page-header" "region"
22
    And I should see "Welcome, Admin!" in the "page-header" "region"
23
    And I reload the page
24
    And I should not see "Welcome, Admin!" in the "page-header" "region"
25
    And I should see "Dashboard" in the "page-header" "region"
26
 
27
  Scenario: Login and be welcomed on the my courses page
28
    Given the following config values are set as admin:
29
      | defaulthomepage | 3 |
30
    When I log in as "admin"
31
    Then I should not see "My courses" in the "page-header" "region"
32
    And I should see "Welcome, Admin!" in the "page-header" "region"
33
    And I reload the page
34
    And I should not see "Welcome, Admin!" in the "page-header" "region"
35
    And I should see "My courses" in the "page-header" "region"