X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/lib/tests/behat
home
/
cbholdings
/
pasukulu
/
lib
/
tests
/
behat
/
📁
..
📄
action_menu.feature
(1.11 KB)
📄
action_modal.feature
(2.06 KB)
📄
alpha_chooser.feature
(21.59 KB)
📄
behat_accessibility.php
(7.72 KB)
📄
behat_action_menu.php
(8.14 KB)
📄
behat_data_generators.php
(9.71 KB)
📄
behat_deprecated.php
(2.1 KB)
📄
behat_filters.php
(2.95 KB)
📄
behat_forms.php
(32.45 KB)
📄
behat_general.php
(97.03 KB)
📄
behat_hooks.php
(33.02 KB)
📄
behat_moodlenet.php
(2.03 KB)
📄
behat_navigation.php
(61.41 KB)
📄
behat_permissions.php
(12.62 KB)
📄
behat_transformations.php
(5.56 KB)
📄
datetime_any.feature
(4.24 KB)
📄
enabledashboard.feature
(846 B)
📄
expand_single_fieldset.feature
(697 B)
📄
largeforms.feature
(2.67 KB)
📄
locking.feature
(8.55 KB)
📄
min_max_version.feature
(1018 B)
📄
moodlenet_outbound.feature
(3.98 KB)
📄
permissionmanager.feature
(3.62 KB)
📄
readonlyform.feature
(1.7 KB)
📄
securelayout.feature
(1.68 KB)
📄
showuseridentity.feature
(4.26 KB)
📄
switch_editing_mode.feature
(2.72 KB)
📄
timezone.feature
(431 B)
📄
userfeedback.feature
(2.18 KB)
Editing: 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 Scenario: Confirm that the user name is displayed in the navbar without a link Given I log in as "admin" And the following config values are set as admin: | logininfoinsecurelayout | 1 | And I am on "Course 1" course homepage When I follow "Fixture link" Then I should see "You are logged in as Admin User" in the "nav" "css_element" But "Logout" "link" should not exist Scenario: Confirm that the custom menu items do not appear when language selection is enabled Given I log in as "admin" And the following config values are set as admin: | langmenuinsecurelayout | 1 | | custommenuitems | -This is a custom item\|/customurl/ | And I am on "Course 1" course homepage When I follow "Fixture link" Then I should not see "This is a custom item" in the "nav" "css_element"
Upload File
Create Folder