AutorÃa | Ultima modificación | Ver Log |
@block @block_course_summaryFeature: Course summary block used on the frontpageIn order to help particpants know the summary of a siteAs adminI can use the course summary block on the frontpageBackground:Given I log in as "admin"And I enable "course_summary" "block" pluginAnd the following "blocks" exist:| blockname | contextlevel | reference | pagetypepattern | defaultregion || course_summary | System | 1 | site-index | side-pre |And I am on site homepageAnd I navigate to "Site home > Site home settings" in site administrationAnd I set the following fields to these values:| summary | Proved the summary block works! |And I press "Save changes"And I log out# The course summary block a default front page block, so no need to add it.Scenario: Guest can view site summaryWhen I am on site homepageThen "Course/site summary" "block" should existAnd I should not see "Course summary" in the "Course/site summary" "block"And I should see "Proved the summary block works!" in the "Course/site summary" "block"Scenario: Admin can not see edit icon when edit mode is offWhen I log in as "admin"And I am on site homepageThen I should see "Proved the summary block works!" in the "Course/site summary" "block"And I should not see "Course summary" in the "Course/site summary" "block"And "Edit" "link" should not exist in the "Course/site summary" "block"