Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7926281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T18:43:36+00:00 2026-06-03T18:43:36+00:00

When I run with :focus => true like this it works fine: it should

  • 0

When I run with :focus => true like this it works fine:

it "should send by email to new user", :js => true, :focus => true do
  ...
end

However, when I remove the :focus => true and run the full test suite I get this error on that test.

Failure/Error: Unable to find matching line from backtrace

It seems to be something with the :js => true maybe since this is the first test where I started using that. capybara-webkit prints a bunch of warnings to the screen when I run the one test by itself.

But when I run the full suite I see no warnings from webkit, so it’s almost like it’s not being loaded.

Any ideas? Thanks I really appreciate it!

In case you are curious here is the relevant part of my gemfile:

group :test do                       
  gem "rspec-rails",                 '2.10.1'
  gem "ruby_gntp",                   '0.3.4'
  gem 'capybara',                    '1.1.2'
  gem 'capybara-webkit',             '0.11.0'  # requires "brew install qt"
  gem 'guard-rspec',                 '0.6.0'
  gem 'mocha',                       '0.10.0'
  gem 'spork',                       '~> 1.0rc'
  gem 'guard-spork',                 '0.5.2'
  gem 'launchy',                     '2.0.5'
end
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T18:43:39+00:00Added an answer on June 3, 2026 at 6:43 pm

    Hmm, well I seemed to solve it but I don’t think it had anything to do with capybara or webkit. It seemed to be an issue in eventmachine I was having. I basically took out any calls to EventMachine’s send_data while in Rails.env.test. I’m still not sure why it wasn’t able to get a backtrace though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am curious. I run this in the background and i know when its
I'd like to implement drag&drop in wxPython that works in similar way that in
I have this WxWidgets test source code that compiles, and when run, it shows
private void button1_Click(object sender, EventArgs e) { Keys key = new Keys(); while (true)
I'm trying to resize at run-time a textbox' height when the user presses the
A Java applet has the following in its start() method : this.setFocusable(true); this.requestFocus(); When
I'm having issues giving focus to a JScrollPane. I'm trying to do this when
I have this situation, where I would like to display a number in figures.
First I remove control visibility by doing this: For Each ctl In Me.MySubform.Controls ctl.Visible
I want to run a VBA script from Excel 2007 that can switch focus

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.