Your IP : 192.168.165.1


Current Path : C:/Users/Mahmood/Desktop/moodle8/lib/tests/behat/
Upload File :
Current File : C:/Users/Mahmood/Desktop/moodle8/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 am on the "C1" "Course" page logged in as "admin"
    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