-
Notifications
You must be signed in to change notification settings - Fork 33
step 'When I follow "[link]"' finds wrong link, with celerity -v=0.7.7 and above #22
Comments
can you enlighten me on what happened when "the problem became obvious"? |
Scenario: Check in 'When I follow "Check-In"' runs successfully in both cases, 'Then I should see "eingecheckt" fails if using celerity -v=0.7.7 and above http://de.culerity/locations/location1_street_1_berlin/check_in http://de.culerity/users/guenter/home |
ok, and now the html/js. are you using any javascript to manipulate that link? |
in detail: the show.html of locations-controller gets page cached somewhere in it there is a and js-tag which looks like this: this triggers the user_info(.rjs) -action which loads the check-in-link dynamically page.replace_html '.location_action_fields_right', :partial => 'location_checkin_button' it does look like a button, thatswhy it is not named link :) but i also got this effect in another controller where no page-caching is used. |
background:
-culerity -v=0.2.10
-jruby -v=1.5.0
-ruby -v=ruby 1.8.7 (2009-06-12 patchlevel 174)
-rails -v=2.3.5
behaviour:
-the step does not fail it just finds wrong link
-if I add a "puts _link.absolute_url" to the step the problem becomes obvious
workaround:
-using celerity -v=0.7.6
is somebody able to reproduce this?
Regards
The text was updated successfully, but these errors were encountered: