Skip to content
GitLab
Menu
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
ecb95409
Commit
ecb95409
authored
May 05, 2015
by
Robert Lyon
Committed by
Gerrit Code Review
May 05, 2015
Browse files
Merge "Behat Test: Multiple groups on a page(Bug 1426983)"
parents
f644bdcc
26ee4663
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/behat/features/group/displaying_groups_on_page.feature
0 → 100644
View file @
ecb95409
@javascript
@core
@core_group
Feature
:
Displaying multiple groups on a page
In order to better organize the groups
As an admin create 10 groups
So I can limit the number of groups showing in mygroup display on the profile page
Scenario
:
Create groups and limit display on profile page (Bug 1426983)
# Log in as "Admin" User
Given
I log in as
"admin"
with password
"Password1"
# Verifying log in was successful
And
I should see
"Admin User"
# Creating several groups to test
When
I follow
"Groups"
And
I follow
"Create group"
And
I fill in
"Group name"
with
"Testing Group 1"
And
I press
"Save group"
And
I follow
"Groups"
And
I follow
"Create group"
And
I fill in
"Group name"
with
"Testing Group 2"
And
I press
"Save group"
And
I follow
"Groups"
And
I follow
"Create group"
And
I fill in
"Group name"
with
"Testing Group 3"
And
I press
"Save group"
And
I follow
"Groups"
And
I follow
"Create group"
And
I fill in
"Group name"
with
"Testing Group 4"
And
I press
"Save group"
And
I follow
"Groups"
And
I follow
"Create group"
And
I fill in
"Group name"
with
"Testing Group 5"
And
I press
"Save group"
And
I follow
"Groups"
And
I follow
"Create group"
And
I fill in
"Group name"
with
"Testing Group 6"
And
I press
"Save group"
And
I follow
"Groups"
And
I follow
"Create group"
And
I fill in
"Group name"
with
"Testing Group 7"
And
I press
"Save group"
And
I follow
"Groups"
And
I follow
"Create group"
And
I fill in
"Group name"
with
"Testing Group 8"
And
I press
"Save group"
And
I follow
"Groups"
And
I follow
"Create group"
And
I fill in
"Group name"
with
"Testing Group 9"
And
I press
"Save group"
And
I follow
"Groups"
And
I follow
"Create group"
And
I fill in
"Group name"
with
"Testing Group 10"
And
I press
"Save group"
# Changing the amount of groups seen in My groups block
Then
I follow
"Portfolio"
And
I follow
"Profile page"
And
I follow
"Edit this page"
And
I press
"Configure 'My groups' block (ID 16)"
And
I fill in
"Maximum number of groups to display"
with
"3"
And
I press
"Save"
And
I press
"Done"
And
I follow
"Profile page"
And
I should see
"10 groups"
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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