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: Region main settings menu
3
  To navigate in boost theme I need to use the region main settings menu
4
 
5
  Background:
6
    Given the following "courses" exist:
7
      | fullname | shortname | newsitems |
8
      | Course 1 | C1        | 5 |
9
    And the following "users" exist:
10
      | username | firstname | lastname | email |
11
      | teacher1 | Teacher | 1 | teacher1@example.com |
12
      | student1 | Student | 1 | student1@example.com |
13
    And the following "course enrolments" exist:
14
      | user | course | role |
15
      | teacher1 | C1 | editingteacher |
16
      | student1 | C1 | student |
17
    And the following "activities" exist:
18
      | activity | name        | intro                   | course | idnumber | option |
19
      | choice   | Choice name | Test choice description | C1     | choice1  | Option 1, Option 2, Option 3 |
20
 
21
  Scenario: Student cannot use all options in the region main settings menu
22
    Given I log in as "student1"
23
    When I am on "Course 1" course homepage
24
    Then "#region-main-settings-menu [role=button]" "css_element" should not exist
25
    And I am on the "Choice name" "Choice activity" page
26
    And "#region-main-settings-menu [role=button]" "css_element" should not exist