Skip to content

Commit

Permalink
Merge branch 'MDL-59382-master-4' of git://github.com/ryanwyllie/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Aug 3, 2017
2 parents 1e674d0 + d6942fb commit c6de3bd
Show file tree
Hide file tree
Showing 51 changed files with 2,581 additions and 238 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ Feature: Enable the calendar block in a course and test it's functionality
And I add the "Calendar" block
And I create a calendar event with form data:
| id_eventtype | Group |
| id_groupid | Group 1 |
| id_name | Group Event |
And I log out
Then I log in as "student1"
Expand Down Expand Up @@ -176,7 +175,6 @@ Feature: Enable the calendar block in a course and test it's functionality
And I am on "Course 1" course homepage
And I create a calendar event with form data:
| id_eventtype | Group |
| id_groupid | Group 1 |
| id_name | Group Event 1 |
And I log out
Then I log in as "student1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Feature: Enable the upcoming events block in a course
As a teacher
I can view the event in the upcoming events block

Scenario: View a global event in the upcoming events block in a course
Background:
Given the following "users" exist:
| username | firstname | lastname | email | idnumber |
| teacher1 | Teacher | 1 | teacher1@example.com | T1 |
Expand All @@ -14,7 +14,10 @@ Feature: Enable the upcoming events block in a course
And the following "course enrolments" exist:
| user | course | role |
| teacher1 | C1 | editingteacher |
When I log in as "admin"

@javascript
Scenario: View a global event in the calendar block
Given I log in as "admin"
And I create a calendar event with form data:
| id_eventtype | Site |
| id_name | My Site Event |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ Feature: View a upcoming site event on the dashboard
In order to view a site event
As a student
I can view the event in the upcoming events block

Scenario: View a global event in the upcoming events block on the dashboard
Background:
Given the following "users" exist:
| username | firstname | lastname | email | idnumber |
| student1 | Student | 1 | student1@example.com | S1 |
And I log in as "admin"

@javascript
Scenario: View a global event in the upcoming events block on the dashboard
Given I log in as "admin"
And I create a calendar event with form data:
| id_eventtype | Site |
| id_name | My Site Event |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ Feature: View a site event on the frontpage
As a teacher
I can view the event in the upcoming events block

Scenario: View a global event in the upcoming events block on the frontpage
Background:
Given the following "users" exist:
| username | firstname | lastname | email | idnumber |
| teacher1 | Teacher | 1 | teacher1@example.com | T1 |
And I log in as "admin"

@javascript
Scenario: View a global event in the upcoming events block on the frontpage
Given I log in as "admin"
And I create a calendar event with form data:
| id_eventtype | Site |
| id_name | My Site Event |
Expand Down
2 changes: 1 addition & 1 deletion calendar/amd/build/calendar.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion calendar/amd/build/calendar_events.min.js

This file was deleted.

1 change: 1 addition & 0 deletions calendar/amd/build/event_form.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions calendar/amd/build/events.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions calendar/amd/build/modal_event_form.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion calendar/amd/build/summary_modal.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c6de3bd

Please sign in to comment.