Coder Social home page Coder Social logo

Capybara 1.0 compatibility about akephalos HOT 2 OPEN

rb2k avatar rb2k commented on June 9, 2024
Capybara 1.0 compatibility

from akephalos.

Comments (2)

schneems avatar schneems commented on June 9, 2024

+1, i'm interested if anyone has done any work on this, i made the attempt but got a few jruby exceptions and couldn't dig deeper.

#<NativeException: com.gargoylesoftware.htmlunit.ScriptException: Index: 0, Size: 0>
["(druby://127.0.0.1:59979) /Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/bundler/gems/akephalos-03251d77332e/lib/akephalos/client.rb:79:in `visit'",
 "(druby://127.0.0.1:59979) org/jruby/RubyKernel.java:2096:in `send'",
 "(druby://127.0.0.1:59979) file:/Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/gems/jruby-jars-1.6.4/lib/jruby-stdlib-1.6.4.jar!/META-INF/jruby.home/lib/ruby/1.8/drb/drb.rb:1593:in `perform_without_block'",
 "(druby://127.0.0.1:59979) file:/Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/gems/jruby-jars-1.6.4/lib/jruby-stdlib-1.6.4.jar!/META-INF/jruby.home/lib/ruby/1.8/drb/drb.rb:1553:in `perform'",
 "(druby://127.0.0.1:59979) file:/Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/gems/jruby-jars-1.6.4/lib/jruby-stdlib-1.6.4.jar!/META-INF/jruby.home/lib/ruby/1.8/drb/drb.rb:1627:in `main_loop'",
 "(druby://127.0.0.1:59979) org/jruby/RubyKernel.java:1419:in `loop'",
 "(druby://127.0.0.1:59979) file:/Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/gems/jruby-jars-1.6.4/lib/jruby-stdlib-1.6.4.jar!/META-INF/jruby.home/lib/ruby/1.8/drb/drb.rb:1623:in `main_loop'",
 "(druby://127.0.0.1:59979) org/jruby/RubyProc.java:274:in `call'",
 "(druby://127.0.0.1:59979) org/jruby/RubyProc.java:233:in `call'",
 "/Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/bundler/gems/akephalos-03251d77332e/lib/akephalos/capybara.rb:206:in `visit'",
 "/Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/gems/capybara-1.0.1/lib/capybara/session.rb:157:in `visit'",
 "/Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/gems/capybara-1.0.1/lib/capybara/dsl.rb:139:in `visit'",
 "/Users/me/Documents/projects/proj-rails/spec/acceptance/web/foo_spec.rb:36",

All tests for akephalos pass but 4: https://gist.github.com/1182175

If you want to play around with the (very minimal changes) you can add this to your gem file

  gem 'akephalos',
    :git => '[email protected]:Schneems/akephalos.git',
    :branch => 'feature/capybara-1.x'

from akephalos.

rb2k avatar rb2k commented on June 9, 2024

https://github.com/Nerian/akephalos2 did some work on it, using it myself atm. Works fine :)

from akephalos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.