mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-53738 feedback: enable mod and block by default
This commit is contained in:
parent
6bd3ab0717
commit
aeeeb78847
16 changed files with 4 additions and 280 deletions
|
@ -4,11 +4,6 @@ Feature: Block activity modules
|
|||
As a manager
|
||||
I can add activities block in a course or on the frontpage
|
||||
|
||||
Background:
|
||||
Given I log in as "admin"
|
||||
And I navigate to "Manage activities" node in "Site administration > Plugins > Activity modules"
|
||||
And I click on "//a[@title=\"Show\"]" "xpath_element" in the "Feedback" "table_row"
|
||||
|
||||
Scenario: Add activities block on the frontpage
|
||||
Given the following "activities" exist:
|
||||
| activity | name | intro | course | idnumber |
|
||||
|
@ -34,8 +29,9 @@ Feature: Block activity modules
|
|||
| wiki | Frontpage wiki name | Frontpage wiki description | Acceptance test site | wiki0 |
|
||||
| workshop | Frontpage workshop name | Frontpage workshop description | Acceptance test site | workshop0 |
|
||||
|
||||
When I log in as "admin"
|
||||
And I am on site homepage
|
||||
When I follow "Turn editing on"
|
||||
And I follow "Turn editing on"
|
||||
And I add the "Activities" block
|
||||
And I click on "Assignments" "link" in the "Activities" "block"
|
||||
Then I should see "Frontpage assignment name"
|
||||
|
@ -112,7 +108,8 @@ Feature: Block activity modules
|
|||
| wiki | Test wiki name | Test wiki description | C1 | wiki1 |
|
||||
| workshop | Test workshop name | Test workshop description | C1 | workshop1 |
|
||||
|
||||
When I follow "Courses"
|
||||
When I log in as "admin"
|
||||
And I follow "Courses"
|
||||
And I follow "Course 1"
|
||||
And I turn editing mode on
|
||||
And I add the "Activities" block
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue