1 |
efrain |
1 |
@block @block_mentees @core_block
|
|
|
2 |
Feature: Adding and configuring Mentees blocks
|
|
|
3 |
In order to have a Mentees blocks on a page
|
|
|
4 |
As admin
|
|
|
5 |
I need to be able to insert and configure a Mentees blocks
|
|
|
6 |
|
|
|
7 |
@javascript
|
|
|
8 |
Scenario: Configuring the Mentees block with Javascript on
|
|
|
9 |
Given I log in as "admin"
|
|
|
10 |
And I am on site homepage
|
|
|
11 |
When I turn editing mode on
|
|
|
12 |
And I add the "Mentees" block
|
|
|
13 |
And I configure the "(new Mentees block)" block
|
|
|
14 |
Then I should see "Mentees block title (no title if blank)"
|
|
|
15 |
And I set the field "Mentees block title (no title if blank)" to "The Mentees block header"
|
|
|
16 |
And I press "Save changes"
|
|
|
17 |
And "block_mentees" "block" should exist
|
|
|
18 |
Then "The Mentees block header" "block" should exist
|