Created
July 16, 2013 12:38
-
-
Save marcusleemitchell/6008334 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@javascript | |
Scenario: Some results should be visible instantly while the remaining property boxes are loaded asynchronously # features/search_properties/ajax_results.feature:16 | |
Given controllers respond slowly # features/step_definitions/slow_controllers_steps.rb:3 | |
Slow response time: 5 | |
call to index | |
Slow response time: 5 | |
call to index | |
When I searched for the destination "Augsburg" # features/step_definitions/search_steps.rb:44 | |
Then I should see "Property A" # features/step_definitions/web_steps.rb:133 | |
And I should see "Property B" # features/step_definitions/web_steps.rb:133 | |
And I should see "Property C" # features/step_definitions/web_steps.rb:133 | |
And I should see "Property D" # features/step_definitions/web_steps.rb:133 | |
But I should not see "Property E" # features/step_definitions/web_steps.rb:154 | |
expected #has_no_content?("Property E") to return true, got false (Spec::Expectations::ExpectationNotMetError) | |
./features/step_definitions/web_steps.rb:157:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:16:in `with_scope' | |
./features/step_definitions/web_steps.rb:155:in `/^(?:|I )should not see "([^"]*)"(?: within "([^"]*)")?$/' | |
features/search_properties/ajax_results.feature:28:in `But I should not see "Property E"' | |
And I should not see "Property F" # features/step_definitions/web_steps.rb:154 | |
When I wait for the page to load # features/step_definitions/selenium_steps.rb:180 | |
Then I should see "Property E" within ".delayed_results" # features/step_definitions/web_steps.rb:133 | |
And I should see "Property F" within ".delayed_results" # features/step_definitions/web_steps.rb:133 | |
But I should not see "Property A" within ".delayed_results" # features/step_definitions/web_steps.rb:154 | |
And I should not see an element ".delayed_results #search_results_content" # features/step_definitions/further_web_steps.rb:248 | |
And I should not see an element ".delayed_results .pagination_container" # features/step_definitions/further_web_steps.rb:248 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment