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: action_modal.feature
@core Feature: Close modals by clicking outside them In order to easily close the currently open pop-up As a user Clicking outside the modal should close it if it doesn't contain a form. @javascript Scenario: The popup closes when clicked on dead space - YUI Given the following "courses" exist: | fullname | shortname | | Course 1 | C1 | And the following "activities" exist: | activity | name | intro | course | idnumber | | quiz | Test quiz name | Test quiz description | C1 | quiz1 | And I am on the "quiz1" "Activity" page logged in as "admin" And I follow "Add question" And I click on "Add" "link" And I click on "a new question" "link" # Cannot use the normal βI click onβ here, because the pop-up gets in the way. And I click on ".moodle-dialogue-lightbox" "css_element" skipping visibility check # The modal does not close because it contains a form. Then I should see "Choose a question type to add" @javascript Scenario: The popup closes when clicked on dead space - Modal Given I log in as "admin" And I follow "Full calendar" And I press "New event" When I click on "[data-region='modal-container']" "css_element" # The modal does not close becaue it contains a form. Then ".modal-backdrop" "css_element" should be visible # Confirm that the contents of the new calendar event modal are visible. And I should see "New event" in the ".modal-title" "css_element" And I should see "Event title" in the ".modal-body" "css_element" @javascript Scenario: The popup help closes when clicked Given the following "courses" exist: | fullname | shortname | | Course 1 | C1 | And the following "activities" exist: | activity | name | intro | course | idnumber | | quiz | Test quiz name | Test quiz description | C1 | quiz1 | And I am on the "quiz1" "Activity" page logged in as "admin" And I follow "Add question" Then I should not see "More help"
Upload File
Create Folder