AutorÃa | Ultima modificación | Ver Log |
@core @core_formFeature: Read-only forms should workIn order to use certain forms on large Moodle installationsAs a userRelevant featuers of non-editable forms should still work@javascriptScenario: Shortforms expand collapsing should work for read-only forms - one-section formGiven I log in as "admin"And I visit "/lib/tests/fixtures/readonlyform.php?sections=1"When I press "First section"Then "Name" "field" should be visibleAnd the field "Name" matches value "Important information"And I press "First section"And "Name" "field" should not be visible@javascriptScenario: Shortforms expand collapsing should work for read-only forms - two-section formGiven I log in as "admin"And I visit "/lib/tests/fixtures/readonlyform.php?sections=2"When I press "Expand all"Then "Name" "field" should be visibleAnd the field "Name" matches value "Important information"And "Other" "field" should be visibleAnd the field "Other" matches value "Other information"And I press "Collapse all"And "Name" "field" should not be visibleAnd "Other" "field" should not be visible