Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@block @block_accessreview @javascript
2
Feature: Block accessreview
3
  In order to overview accessibility information on my course
4
  As a manager
5
  I can add the accessreview block in a course
6
 
7
  Background:
8
    Given the following "courses" exist:
9
      | fullname | shortname | format |
10
      | Course 1 | C1        | topics |
11
 
12
  Scenario: View accessreview block on a course
13
    Given I log in as "admin"
14
    And I am on "Course 1" course homepage with editing mode on
15
    When I add the "Accessibility Review" block
16
    Then I should see "Accessibility Review"
17
    And I should see "Your accessibility toolkit needs to be registered."
18
 
19
  Scenario: Hide/show accessreview view
20
    Given I log in as "admin"
21
    And I am on "Course 1" course homepage with editing mode on
22
    When I add the "Accessibility Review" block
23
    Then I should see "Accessibility Review"
24
    And I should see "Your accessibility toolkit needs to be registered."
25
    And I click on "Actions menu" "icon" in the "Accessibility Review" "block"
26
    And I follow "Hide Accessibility Review block"
27
    And I should not see "Your accessibility toolkit needs to be registered."
28
    And I click on "Actions menu" "icon" in the "Accessibility Review" "block"
29
    And I follow "Show Accessibility Review block"
30
    And I should see "Your accessibility toolkit needs to be registered."