Commit fa690464 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1594613: behat test for the forms on admin homepage"

parents df64cdd2 f1de47bf
@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