X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/admin/tool/behat/tests/behat
home
/
cbholdings
/
pasukulu
/
admin
/
tool
/
behat
/
tests
/
behat
/
📁
..
📄
data_generators.feature
(18.71 KB)
📄
datetime_strings.feature
(1.08 KB)
📄
edit_permissions.feature
(4.73 KB)
📁
fixtures
📄
get_and_set_fields.feature
(10.72 KB)
📄
get_and_set_fields_in_containers.feature
(1.5 KB)
📄
i_am_on_page.feature
(5.21 KB)
📄
inplaceeditable.feature
(1.29 KB)
📄
keyboard.feature
(1.93 KB)
📄
list_steps.feature
(1.88 KB)
📄
loginout.feature
(4.4 KB)
📄
manipulate_forms.feature
(1.2 KB)
📄
nasty_strings.feature
(2.4 KB)
📄
test_environment.feature
(304 B)
Editing: manipulate_forms.feature
@tool @tool_behat Feature: Forms manipulation In order to interact with Moodle As a user I need to set forms values @javascript Scenario: Basic forms manipulation Given I log in as "admin" And I open my profile in edit mode When I set the field "First name" to "Field value" And I set the field "Select a country" to "Japan" And I set the field "New password" to "TestPass" Then the field "First name" matches value "Field value" And the "Select a country" select box should contain "Japan" And the field "New password" matches value "TestPass" @javascript Scenario: Expand all fieldsets and advanced elements Given the following "courses" exist: | fullname | shortname | category | | Course 1 | C1 | 0 | And the following "activities" exist: | activity | course | section | name | | quiz | C1 | 1 | Quiz 1 | And I am on the "Quiz 1" "quiz activity editing" page logged in as admin When I expand all fieldsets Then I should see "Close the quiz" And I should see "Group mode" And I should see "ID number" And I should not see "Show more..." in the "region-main" "region" And I should see "Show less..."
Upload File
Create Folder