Your IP : 216.73.216.48


Current Path : /hdd/hdd11/www/vlevski/ict/lib/tests/behat/
Upload File :
Current File : /hdd/hdd11/www/vlevski/ict/lib/tests/behat/securelayout.feature

@core
Feature: Page displaying with secure layout
  In order to securely perform tasks
  As a student
  I need not to be able to exit the page using the header logo

  Background:
    # Get to the fixture page.
    Given the following "courses" exist:
      | fullname | shortname | format |
      | Course 1 | C1        | topics |
    And the following "activities" exist:
      | activity   | name | intro                                                               | course | idnumber |
      | label      | L1   | <a href="../lib/tests/fixtures/securetestpage.php">Fixture link</a> | C1     | label1   |

  Scenario: Confirm that there is no header link
    Given I log in as "admin"
    And I am on "Course 1" course homepage
    When I follow "Fixture link"
    Then I should see "Acceptance test site" in the "nav" "css_element"
    But "Acceptance test site" "link" should not exist