[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/blocks/blog_menu/tests/behat/ -> block_blog_menu_frontpage.feature (source)

   1  @block @block_blog_menu
   2  Feature: Enable Block blog menu on the frontpage
   3    In order to enable the blog menu on the frontpage
   4    As an admin
   5    I can add blog menu block to the frontpage
   6  
   7    Background:
   8      Given the following "users" exist:
   9        | username | firstname | lastname | email | idnumber |
  10        | student1 | Student | 1 | student1@example.com | S1 |
  11      And I log in as "admin"
  12      And I am on site homepage
  13      And I navigate to "Turn editing on" node in "Front page settings"
  14      And I add the "Blog menu" block
  15      And I log out
  16  
  17    Scenario: Students use the blog menu block to post blogs
  18      Given I log in as "student1"
  19      And I am on site homepage
  20      And I follow "Add a new entry"
  21      When I set the following fields to these values:
  22        | Entry title | S1 First Blog |
  23        | Blog entry body | This is my awesome blog! |
  24      And I press "Save changes"
  25      Then I should see "S1 First Blog"
  26      And I should see "This is my awesome blog!"
  27      And I am on site homepage
  28      And I follow "Blog entries"
  29      And I should see "S1 First Blog"
  30      And I should see "This is my awesome blog!"


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1