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