Comments (11)
hmm, could it be this here?
http://bugreports.qt.nokia.com/browse/QTWEBKIT-302
from capybara-webkit.
Actually, on OSX this error happens but I can see from the node server log that a websocket connection is opened and functional anyway. Maybe this is just a cosmetic thing..
from capybara-webkit.
It's a typo as shown in the issue you linked to. I downloaded the QT source, corrected and compiled it myself to avoid the issue.
from capybara-webkit.
Thank you - this works with the linux version. I'll ask the homebrew qt maintainer to include a patch too.
--Frank
from capybara-webkit.
I got QMetaObject::invokeMethod: No such method WebCore::SocketStreamHandlePrivate::socketSentData() when run cucumber with:
config.middleware.use Faye::RackAdapter, :mount => '/faye', :timeout => 45
in application.rb
ruby 1.8.7
rails 3.1.1
capybara-webkit 1.0.0.beta4
OS X 10.6.8.
Capybara really works on Linux, but what if i need run tests on OS X computers?
from capybara-webkit.
@dom1nga, I guess the "correct" way to handle this is to make your Homebrew install a patched qt.
Add a patch to the qt formula to fix the issue: you need to upcase "D" in this method definition, and this header file, put the patch to a gist and add a path to it to the patches
section of Homebrew formula.
This link and a Contributing section of this article can help in creating formulas.
from capybara-webkit.
I'm not sure if this will still apply cleanly, but I have a patch. I also still had issues with WebSocket even with the patch, but it was a while ago now.
from capybara-webkit.
Eyes-and-brain compilation tell it should apply cleanly =) but of course it's better to redo changes and see the diff of diffs.
from capybara-webkit.
Some time ago i try to install qt from sources but got error during make. I'll try apply brew patch, but you recommend for "<10.7" take qt from this link:
http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-х
Binaries and sources still without patch. Can someone contact the guys from Nokia and say to apply patches to public access products.
Or fix plz in "Installing qt" this section: "# # # OS X <10.7"
from capybara-webkit.
Great news! Just noticed WebSocket now works with QT 4.7.4, which I installed via Homebrew.
I used cucumber-websocket-example to test. Just add the library to the Gemfile
and enable it as the JavaScript driver.
from capybara-webkit.
After updating qt I haven't seen the error messages. But tests crash anyway.
Here is simple demo app where I've got cucumber errors. When I using sqlite3 as database adapter - all was fine. When I use mysql\mysql2 I got error.
from capybara-webkit.
Related Issues (20)
- Issue rendering modal (SweetAlert) in CapybaraWebkit HOT 5
- Unable to find css because it redirects to /login HOT 1
- Status code 0 when injecting javascript file to be loaded over HTTPS HOT 1
- Capybara::Webkit::Browser.command becomes out of sync reading @connection responses, causing JSON::ParserError HOT 1
- Deprecation warning on normalize_whitespace with capybara >= 3.0 HOT 15
- EOFError: end of file reached on qt 5.9? HOT 3
- Follow 308 redirects HOT 8
- I am getting error when bootstrap from Window to Linux machine HOT 1
- Failing to install on mac OS 10.13.6 HOT 7
- Capybara-webkit +qt5.5 fails with X Code 10 HOT 31
- Capybara README remark clarification HOT 1
- Failing to build 1.15 on Alpine while 1.14 builds fine HOT 2
- fatal: reference is not a tree: 9ba3d6ef8891e5c15dbdc9333f857b13711d4e97 HOT 2
- ~
- Unable to maximize the window HOT 3
- Consider adding flexbox troubleshooting to README
- Upgrading Capybara to latest version makes Gitlab CI fail
- -v
- Capybara::Webkit::ConnectionError: webkit_server failed to start.
- No longer maintained? HOT 2
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 capybara-webkit.