Comments (4)
can you enlighten me on what happened when "the problem became obvious"?
from culerity.
Scenario: Check in
Given I am logged in as "guenter"
And I am on the page of location "location1"
When I follow "Check-In"
Then I should see "eingecheckt"
'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
is the output of "puts _link.absolute_url" in case -v=0.7.6, which triggers the correct action
http://de.culerity/users/guenter/home
is the output of "puts _link.absolute_url" in case -v=0.7.9, which triggers the wrong action -> the next step fails
from culerity.
ok, and now the html/js. are you using any javascript to manipulate that link?
from culerity.
in detail:
the show.html of locations-controller gets page cached
somewhere in it there is a
div class="location_action_fields_right"> /div>
and js-tag which looks like this:
<% javascript_tag do %>
$.getScript('<%= user_info_location_path(@location) %>');
<% end %>
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.
from culerity.
Related Issues (20)
- Culerity fails if JRuby is not in a standard path HOT 18
- culerity.js ajax_with_count fails on async:false calls HOT 1
- Can't follow links if contained in div.buttons HOT 2
- culerity_rails_server.pid in wrong location HOT 1
- IO.popen("script/server") makes the Rails app sad HOT 7
- Culerity throws deprecation warning when calling Node#type
- Exception invoking jsxGet_length (Culerity::CulerityException HOT 3
- Nailgun support HOT 6
- "Then I should see..." steps fail if text is contained in paragraph tags and not div tags HOT 4
- Doctype being removed HOT 3
- .each not working on a links collection HOT 3
- browser object HOT 2
- Culerity generators in Rails 3 HOT 3
- Culerity not working with regular JRuby HOT 6
- Broken pipe with RVM (or whatever) HOT 6
- RemoteObjectProxy implements method_missing but not respond_to? HOT 2
- culerity hangs on exit HOT 3
- Culerity, Capybara and Ruby 1.9.2
- Culerity integration link is stale HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from culerity.