forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-82109 notes: include link to add site note if user has capability.
- Loading branch information
1 parent
a843eab
commit 477a160
Showing
2 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@core @core_notes | ||
Feature: Add notes to site users | ||
In order to share information with other users | ||
As an admin | ||
I need to add notes to site user accounts | ||
|
||
Scenario: Add a user site note | ||
Given the following "users" exist: | ||
| username | firstname | lastname | email | | ||
| student1 | Student | 1 | student1@example.com | | ||
When I am on the "student1" "user > profile" page logged in as "admin" | ||
And I follow "Notes" | ||
And I follow "Add a new note" | ||
And I set the field "Content" to "Student 1 needs to pick up his game" | ||
And I press "Save changes" | ||
Then I should see "Student 1 needs to pick up his game" in the ".notelist" "css_element" |