Merge branch 'MDL-82551-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
This commit is contained in:
@@ -27,9 +27,8 @@
|
||||
<div class="text-xs-center text-center mt-4" data-region="empty-message">
|
||||
<img
|
||||
src="{{noitemsimgurl}}"
|
||||
alt="{{#str}} noitems, block_recentlyaccesseditems {{/str}}"
|
||||
role="presentation"
|
||||
alt=""
|
||||
style="height: 70px; width: 70px;"
|
||||
>
|
||||
<p class="text-muted mt-3 mb-0">{{#str}} noitems, block_recentlyaccesseditems {{/str}}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
}
|
||||
}}
|
||||
{{#welcomemessage}}
|
||||
<h2 class="mb-3 mt-3">
|
||||
<h1 class="h2 mb-3 mt-3">
|
||||
{{.}}
|
||||
</h2>
|
||||
</h1>
|
||||
{{/welcomemessage}}
|
||||
|
||||
@@ -30,3 +30,20 @@ Feature: Welcome message
|
||||
And I should see "You are not logged in" in the "page-footer" "region"
|
||||
And I log in as "admin"
|
||||
Then I should see "Hi, Admin!" in the "page-header" "region"
|
||||
|
||||
@accessibility @javascript
|
||||
Scenario Outline: The start page must meet accessibility standards when the welcome message is displayed
|
||||
Given the following config values are set as admin:
|
||||
| defaulthomepage | <defaulthomepage> |
|
||||
When I log in as "admin"
|
||||
Then I should see "Welcome, Admin!" in the "page-header" "region"
|
||||
And the page should meet accessibility standards
|
||||
|
||||
Examples:
|
||||
| defaulthomepage |
|
||||
# Home.
|
||||
| 0 |
|
||||
# Dashboard.
|
||||
| 1 |
|
||||
# My courses.
|
||||
| 2 |
|
||||
|
||||
Reference in New Issue
Block a user