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
fa690464
Commit
fa690464
authored
Aug 11, 2016
by
Robert Lyon
Committed by
Gerrit Code Review
Aug 11, 2016
Browse files
Merge "Bug 1594613: behat test for the forms on admin homepage"
parents
df64cdd2
f1de47bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/behat/features/admin/admin_home.feature
0 → 100644
View file @
fa690464
@javascript
@core
@core_administration
Feature
:
The admin homepage
Test the forms on the admin homepage
As an admin
So I can make sure I can close/open site or clear cache
Scenario
:
Closing the site
Given
I log in as
"admin"
with password
"Kupuhipa1"
And
I follow
"Administration"
# Verifying I'm on the right page
And
I should see
"Register your Mahara site"
And
I scroll to the base of id
"close_site"
And
I press
"Close"
And
I should see
"Reopen site"
And
I scroll to the base of id
"close_site"
And
I press
"Open"
And
I should see
"Close site"
# Checking that the caches can be emptied
And
I scroll to the base of id
"clear_caches"
And
I press
"Clear caches"
And
I should see
"All caches were cleared"
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