MDL-37190 blocks: Block name label consistency

AMOS BEGIN
    MOV [blocktitle,blog],[configtitle,block_blog_tags]
   AMOS END
This commit is contained in:
Luca Bösch 2018-01-18 14:30:46 +01:00
parent a4f914b54d
commit 916a72bb51
13 changed files with 54 additions and 15 deletions

View file

@ -23,8 +23,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string['configtitle'] = 'Block title';
$string['configtitleblankhides'] = 'Block title (no title if blank)';
$string['configtitle'] = 'Mentees block title';
$string['configtitleblankhides'] = 'Mentees block title (no title if blank)';
$string['leaveblanktohide'] = 'leave blank to hide the title';
$string['mentees:addinstance'] = 'Add a new mentees block';
$string['mentees:myaddinstance'] = 'Add a new mentees block to Dashboard';

View file

@ -0,0 +1,18 @@
@block @block_mentees @core_block
Feature: Adding and configuring Mentees blocks
In order to have a Mentees blocks on a page
As admin
I need to be able to insert and configure a Mentees blocks
@javascript
Scenario: Configuring the Mentees block with Javascript on
Given I log in as "admin"
And I am on site homepage
When I turn editing mode on
And I add the "Mentees" block
And I configure the "(new Mentees block)" block
Then I should see "Mentees block title (no title if blank)"
And I set the field "Mentees block title (no title if blank)" to "The Mentees block header"
And I press "Save changes"
And "block_mentees" "block" should exist
Then "The Mentees block header" "block" should exist