Línea 23... |
Línea 23... |
23 |
And I expand all fieldsets
|
23 |
And I expand all fieldsets
|
24 |
And I set the field "Students submit in groups" to "No"
|
24 |
And I set the field "Students submit in groups" to "No"
|
25 |
Then I should not see "Require group to make submission"
|
25 |
Then I should not see "Require group to make submission"
|
26 |
And I should not see "Require all group members to submit"
|
26 |
And I should not see "Require all group members to submit"
|
27 |
And I should not see "Grouping for student groups"
|
27 |
And I should not see "Grouping for student groups"
|
- |
|
28 |
|
- |
|
29 |
Scenario: The editor is hidden when 'eq' hideIf conditions are met
|
- |
|
30 |
Given I am on fixture page "/lib/form/tests/behat/fixtures/editor_hideif_disabledif_form.php"
|
- |
|
31 |
And I should see "My test editor"
|
- |
|
32 |
When I click on "Hide" "radio"
|
- |
|
33 |
Then I should not see "My test editor"
|
- |
|
34 |
|
- |
|
35 |
Scenario: The static element is hidden when 'eq' hideIf conditions are met
|
- |
|
36 |
Given I am on fixture page "/lib/form/tests/behat/fixtures/static_hideif_disabledif_form.php"
|
- |
|
37 |
And I should see "Static with form elements"
|
- |
|
38 |
When I click on "Hide" "radio"
|
- |
|
39 |
Then I should not see "Static with form elements"
|
- |
|
40 |
And I click on "Enable" "radio"
|
- |
|
41 |
And I should see "Static with form elements"
|