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: My courses page block layout in Boost theme
3
  In order to have a clear and consistent view on the my courses page
4
  As a student
5
  I need to see the blocks in the expected placement
6
 
7
  Background:
8
    Given the following "users" exist:
9
      | username | firstname | lastname | email               |
10
      | student1 | Student   | 1        | student@example.com |
11
    And I log in as "admin"
12
    And I am on site homepage
13
    And I turn editing mode on
14
    And I add the "Text" block to the default region with:
15
      | Text block title | Text on all pages                  |
16
      | Content          | This is visible on all pages       |
17
    And I configure the "Text on all pages" block
18
    And I set the following fields to these values:
19
      | Page contexts    | Display throughout the entire site |
20
      | Default region   | Right                              |
21
    And I click on "Save changes" "button" in the "Configure Text on all pages block" "dialogue"
22
 
23
  Scenario: Student can see relevant blocks with correct placement on my courses page
24
    When I log in as "student1"
25
    And I am on the "My courses" page
26
    Then "Course overview" "text" should exist in the "region-main" "region"
27
    And I should see "This is visible on all pages"
28
    And I press "Close block drawer"
29
    And "Course overview" "text" should exist in the "region-main" "region"
30
    And I should not see "This is visible on all pages"