HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.0.30
System: Linux multiplicar 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64
User: root (0)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /var/www/html/aprendizajesetac.sumar.com.py/grade/tests/behat/grade_scales_logging.feature
@core @core_grades
Feature: We can view the logs for any changes to grade scales.
  In order to view changes grade scales
  As an administrator
  I need to add make changes and then view the logs.

  Scenario: I edit scales and then view the logs.
    Given I log in as "admin"
    And I navigate to "Grades > Scales" in site administration
    # Add a scale
    And I press "Add a new scale"
    And I set the following fields to these values:
      | Name  | Letterscale |
      | Scale | F,D,C,B,A   |
    And I press "Save changes"
    # Delete first scale
    And I follow "Delete"
    And I press "Continue"
    # Edit first scale
    And I follow "Edit"
    And I set the following fields to these values:
      | id_scale | ONE,TWO,THREE |
    And I press "Save changes"
    When I navigate to "Reports > Live logs" in site administration
    Then I should see "Scale created"
    And I should see "Scale updated"
    And I should see "Scale deleted"