[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/blocks/tests/behat/ -> hide_blocks.feature (source)

   1  @core @core_block
   2  Feature: Block visibility
   3    In order to configure blocks visibility
   4    As a teacher
   5    I need to show and hide blocks on a page
   6  
   7    Background:
   8      Given the following "courses" exist:
   9        | fullname | shortname | category |
  10        | Course 1 | C1 | 0 |
  11      And I log in as "admin"
  12      And I am on site homepage
  13      And I follow "Course 1"
  14      And I follow "Turn editing on"
  15  
  16    @javascript
  17    Scenario: Hiding all blocks on the page should remove the column they're in
  18      Given I open the "Search forums" blocks action menu
  19      And I click on "Hide Search forums block" "link" in the "Search forums" "block"
  20      And I open the "Latest announcements" blocks action menu
  21      And I click on "Hide Latest announcements block" "link" in the "Latest announcements" "block"
  22      And I open the "Upcoming events" blocks action menu
  23      And I click on "Hide Upcoming events block" "link" in the "Upcoming events" "block"
  24      And I open the "Recent activity" blocks action menu
  25      When I click on "Hide Recent activity block" "link" in the "Recent activity" "block"
  26      Then ".empty-region-side-post" "css_element" should not exist in the "body" "css_element"
  27      And I follow "Turn editing off"
  28      And ".empty-region-side-post" "css_element" should exist in the "body" "css_element"


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