Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@core
2
Feature: Expand single fieldset in Behat tests
3
  In order to expand all fieldsets when there is only one
4
  As a developer
5
  I need Behat to successfully expand that fieldset
6
 
7
  @javascript
8
  Scenario: Test expand all fieldsets when there is only one fieldset
9
    Given I log in as "admin"
10
    # This page was selected because it only has one fieldset.
11
    When I navigate to "Users > Accounts > Upload users" in site administration
12
    # Close the fieldset manually...
13
    And I click on "//a[@data-toggle='collapse']" "xpath_element"
14
    And I should not see "Example text file"
15
    # Expand using 'expand all' step.
16
    And I expand all fieldsets
17
    Then I should see "Example text file"