Sha256: c67f66676a9bfff7837edd1d56463877fc3b401104439d50bf8208956e85670c

Contents?: true

Size: 1.23 KB

Versions: 17

Compression:

Stored size: 1.23 KB

Contents

@javascript
Feature: iframe Steps

  Scenario: Switch between iframes
    Given I go to "/static_pages/iframe"
    Then I should not see "Kiwi"
      And I should not see "Cherry"

    When I switch to the 1st iframe
    Then I should see "Kiwi"
    But I should not see "Cherry"

    When I switch back to the whole page
    Then I should not see "Kiwi"
      And I should not see "Cherry"

    When I switch to the colors_2 iframe
    Then I should see "Cherry"
    But I should not see "Kiwi"
    # Unfortunately, manual reset for next test is necessary
    When I switch back to the whole page


  Scenario: Accesssing contents of iframes with the "inside the ... frame" step fragment
    Given I go to "/static_pages/iframe"
    Then I should see "Content on main page"
    But I should not see "Fruit"

    Then I should see "Kiwi" inside the 1st iframe
      And I should see "Cherry" inside the colors_2 iframe
      And I should see a table with the following rows inside the colors_1 iframe:
        | Color | Fruit |
        | Green | Kiwi  |
      And I should see a table with the following rows inside the 2nd iframe:
        | Color | Fruit  |
        | Red   | Cherry |
    But I should not see "Content on main page" inside the 1st iframe

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
spreewald-4.6.3 tests/shared/features/shared/iframe_steps.feature
spreewald-4.6.2 tests/shared/features/shared/iframe_steps.feature
spreewald-4.6.1 tests/shared/features/shared/iframe_steps.feature
spreewald-4.6.0 tests/shared/features/shared/iframe_steps.feature
spreewald-4.5.1 tests/shared/features/shared/iframe_steps.feature
spreewald-4.5.0 tests/shared/features/shared/iframe_steps.feature
spreewald-4.4.4 tests/shared/features/shared/iframe_steps.feature
spreewald-4.4.3 tests/shared/features/shared/iframe_steps.feature
spreewald-4.4.2 tests/shared/features/shared/iframe_steps.feature
spreewald-4.4.1 tests/shared/features/shared/iframe_steps.feature
spreewald-4.4.0 tests/shared/features/shared/iframe_steps.feature
spreewald-4.3.6 tests/shared/features/shared/iframe_steps.feature
spreewald-4.3.5 tests/shared/features/shared/iframe_steps.feature
spreewald-4.3.4 tests/shared/features/shared/iframe_steps.feature
spreewald-4.3.3 tests/shared/features/shared/iframe_steps.feature
spreewald-4.3.2 tests/shared/features/shared/iframe_steps.feature
spreewald-4.2.3 tests/shared/features/shared/iframe_steps.feature