Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
8192fc41
Commit
8192fc41
authored
Mar 28, 2015
by
Robert Lyon
Committed by
Gerrit Code Review
Mar 28, 2015
Browse files
Merge "Behat Test: Filtering message by activity type (Bug 1433342)"
parents
7a55bc33
5c44ecda
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/behat/features/messages/activity_type_messages.feature
0 → 100644
View file @
8192fc41
@javascript
@core
@core_administration
Feature
:
Admins are allowed to see more types of messages than a user
In order to see what types are visible to me
As an admin/student
So I can filter messages
Background
:
Given the following "users" exist
:
|
username
|
password
|
email
|
firstname
|
lastname
|
institution
|
authname
|
role
|
|
userA
|
Password1
|
test01@example.com
|
Pete
|
Mc
|
mahara
|
internal
|
member
|
Scenario Outline
:
Selection options to filter messages as an admin (Bug 1433342)
Given
I log in as
"admin"
with password
"Password1"
When
I follow
"Inbox"
And
I select
"<types>"
from
"Activity type"
Examples
:
|
types
|
|
Administration
messages
|
|
Contact
us
|
|
Feedback
|
|
Feedback
on
annotations
|
|
Group
message
|
|
Institution
message
|
|
Message
from
other
users
|
|
New
forum
post
|
|
New
page
access
|
|
Objectionable
content
|
|
Objectionable
content
in
forum
|
|
Repeat
virus
upload
|
|
System
message
|
|
Virus
flag
release
|
|
Watchlist
|
Scenario Outline
:
Selecting options to filter messages as a student (Bug 1433342)
Given
I log in as
"userA"
with password
"Password1"
And
I follow
"Groups"
And
I follow
"Create group"
And
I fill in
"Group name"
with
"Jurassic Park"
And
I press
"Save group"
And
I am on homepage
When
I follow
"Inbox"
And
I select
"<types>"
from
"Activity type"
Examples
:
|
types
|
|
Feedback
|
|
Feedback
on
annotations
|
|
Group
message
|
|
Institution
message
|
|
Message
from
other
users
|
|
New
forum
post
|
|
New
page
access
|
|
Objectionable
content
in
forum
|
|
System
message
|
|
Watchlist
|
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment