1441 |
ariadna |
1 |
@core @core_badges
|
|
|
2 |
Feature: Badge overview
|
|
|
3 |
In order to view a badge's information
|
|
|
4 |
As an user with the capability to view badges
|
|
|
5 |
I need to access the badge overview page
|
|
|
6 |
|
|
|
7 |
Background:
|
|
|
8 |
Given the following config values are set as admin:
|
|
|
9 |
| badges_defaultissuername | Test Badge Site |
|
|
|
10 |
|
|
|
11 |
@javascript @accessibility @_file_upload
|
|
|
12 |
Scenario: Test accessibility of badge overview page
|
|
|
13 |
Given I log in as "admin"
|
|
|
14 |
And I navigate to "Badges > Add a new badge" in site administration
|
|
|
15 |
And I set the following fields to these values:
|
|
|
16 |
| Name | Cool badge |
|
|
|
17 |
| Description | Badge for cool people |
|
|
|
18 |
And I upload "badges/tests/behat/badge.png" file to "Image" filemanager
|
|
|
19 |
And I press "Create badge"
|
|
|
20 |
When I select "Overview" from the "Badges navigation" singleselect
|
|
|
21 |
Then the "region-main" "region" should meet accessibility standards with "best-practice" extra tests
|