Commit f1de47bf authored by Robert Lyon's avatar Robert Lyon

Bug 1594613: behat test for the forms on admin homepage

Change-Id: I74b8bcfbda67c822541334a07e7ed6ae25d606fd
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent bcfc3766
@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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment