| Línea 34... |
Línea 34... |
| 34 |
@javascript
|
34 |
@javascript
|
| 35 |
Scenario: Edit tools should be available to teachers.
|
35 |
Scenario: Edit tools should be available to teachers.
|
| 36 |
Given I log in as "teacher1"
|
36 |
Given I log in as "teacher1"
|
| 37 |
When I am on "Course 1" course homepage
|
37 |
When I am on "Course 1" course homepage
|
| 38 |
And I turn editing mode on
|
38 |
And I turn editing mode on
|
| - |
|
39 |
And I open the activity chooser
|
| 39 |
Then I should see "Add an activity or resource"
|
40 |
Then I should see "Add an activity or resource"
|
| - |
|
41 |
And I click on "Close" "button" in the "Add an activity or resource" "dialogue"
|
| 40 |
And I open "Activity sample 1" actions menu
|
42 |
And I open "Activity sample 1" actions menu
|
| 41 |
And I should see "Edit settings"
|
43 |
And I should see "Edit settings"
|
| 42 |
And ".section_action_menu" "css_element" should exist in the "Section 1" "section"
|
44 |
And ".section_action_menu" "css_element" should exist in the "Section 1" "section"
|
| 43 |
And I click on ".section_action_menu" "css_element" in the "Section 1" "section"
|
45 |
And I click on ".section_action_menu" "css_element" in the "Section 1" "section"
|
| 44 |
And I should see "Edit settings"
|
46 |
And I should see "Edit settings"
|