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: switch_editing_mode.feature
@core @turn_edit_mode_on @javascript Feature: Turn editing mode on Users should be able to turn editing mode on and off Background: Given the following "courses" exist: | fullname | shortname | | Course 1 | C1 | And the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | | student1 | Student | 1 | student1@example.com | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | | student1 | C1 | student | And I log in as "teacher1" And I am on "Course 1" course homepage with editing mode on And I turn editing mode off And I log out Scenario: Edit mode on page Gradebook Given the following "activities" exist: | activity | course | idnumber | name | intro | | assign | C1 | assign1 | Test Assignment 1 | Test Assignment 1 | And I log in as "teacher1" And I am on "Course 1" course homepage And I navigate to "View > Grader report" in the course gradebook And I turn editing mode on And I click on grade item menu "Test Assignment 1" of type "gradeitem" on "grader" page And "Edit grade item" "link" should exist And I turn editing mode off And I click on grade item menu "Test Assignment 1" of type "gradeitem" on "grader" page Then "Edit grade item" "link" should not exist Scenario: Edit mode on page Homepage Given I log in as "admin" And I am on site homepage And I turn editing mode on And I should see "Add an activity or resource" And I turn editing mode off Then I should not see "Add an activity or resource" Scenario: Edit mode on page Default profile Given I log in as "admin" And I navigate to "Appearance > Default profile page" in site administration And I turn editing mode on And I should see "Add a block" And I turn editing mode off Then I should not see "Add a block" Scenario: Edit mode on page Profile Given I log in as "admin" And I follow "View profile" And I turn editing mode on And I should see "Add a block" And I turn editing mode off Then I should not see "Add a block" Scenario: Edit mode on page Default dashboard Given I log in as "admin" And I navigate to "Appearance > Default Dashboard page" in site administration And I turn editing mode on And I should see "Add a block" And I turn editing mode off Then I should not see "Add a block" Scenario: Edit mode on page Dashboard And I log in as "teacher1" And I turn editing mode on And I should see "Add a block" Then I turn editing mode off Then I should not see "Add a block"
Upload File
Create Folder