X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/blocks/blog_menu/tests/behat
home
/
cbholdings
/
pasukulu
/
blocks
/
blog_menu
/
tests
/
behat
/
📁
..
📄
block_blog_menu.feature
(3.26 KB)
📄
block_blog_menu_activity.feature
(8.76 KB)
📄
block_blog_menu_course.feature
(7.56 KB)
📄
block_blog_menu_frontpage.feature
(1.1 KB)
Editing: block_blog_menu_frontpage.feature
@block @block_blog_menu Feature: Enable Block blog menu on the frontpage In order to enable the blog menu on the frontpage As an admin I can add blog menu block to the frontpage Background: Given the following "users" exist: | username | firstname | lastname | email | idnumber | | student1 | Student | 1 | student1@example.com | S1 | And the following "blocks" exist: | blockname | contextlevel | reference | pagetypepattern | defaultregion | | blog_menu | System | 1 | site-index | side-pre | Scenario: Students use the blog menu block to post blogs Given I log in as "student1" And I am on site homepage And I follow "Add a new entry" When I set the following fields to these values: | Entry title | S1 First Blog | | Blog entry body | This is my awesome blog! | And I press "Save changes" Then I should see "S1 First Blog" And I should see "This is my awesome blog!" And I am on site homepage And I follow "Blog entries" And I should see "S1 First Blog" And I should see "This is my awesome blog!"
Upload File
Create Folder