Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
@core @core_courseFeature: Site home activities sectionIn order to show a display activities in the frontpageAs an adminI need to edit the frontpage sectionBackground:Given the following config values are set as admin:| numsections | 1 |Scenario: Activities should appear in frontpageGiven the following "activities" exist:| activity | course | section | name | intro | idnumber || assign | Acceptance test site | 1 | Frontpage assignment | Assignment description | assign0 |When I log in as "admin"And I am on site homepageThen I should see "Frontpage assignment" in the "region-main" "region"@javascriptScenario: Section name does appears in frontpageGiven the following "activities" exist:| activity | course | section | name | intro | idnumber || assign | Acceptance test site | 1 | Frontpage assignment | Assignment description | assign0 |And I log in as "admin"And I am on site homepageAnd I turn editing mode onAnd I click on "Edit" "link" in the "region-main" "region"And I set the field "Section name" to "New section name"When I press "Save changes"And I should see "New section name" in the "region-main" "region"Then I turn editing mode offAnd I should see "New section name" in the "region-main" "region"@javascriptScenario: Section description appears in the frontpageGiven I log in as "admin"And I am on site homepageAnd I turn editing mode onAnd I click on "Edit" "link" in the "region-main" "region"And I set the field "Description" to "New section description"When I press "Save changes"And I should see "New section description" in the "region-main" "region"Then I turn editing mode offAnd I should see "New section description" in the "region-main" "region"