-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting 'NoMethodError: undefined method `to_sym' for nil:NilClass' error when using Capybara+SitePrism+Appium+Rspec #47
Comments
If you have Gemfile.lock, could you confirm the diff if it happens on Ruby libraries side? |
Please take a look at Gemfile.lock
Here please see Appium log
|
Thanks. and could you give me the stacktrace of BTW, can you run https://github.com/appium/appium_capybara/tree/master/example on your env? |
I tried to set automationName as uiautomator2 but it still giving me the same error
|
also i have run the project you sent and i still get the same error |
(having the same issue) I have debugged deeply, it seems like Test does not use appium driver instead tries Capybara and then cant find the selector (:id). |
mm, interesting...
Affected https://github.com/appium/ruby_lib/blob/master/CHANGELOG.md#1-enhancements-5 ? |
@KazuCocoa so i cleaned the gemset that was used and turned out that the problem occurs because of capybara version Could you please take a look at this problem? |
Confirmed. It looked omething wrong between capybara 3.18.0 and 3.19.0 fix. The diff is teamcapybara/capybara@3.18.0...3.19.0 |
@AlonaPF @serhatbolsu |
Worked for me with newest version as of now. |
Currently can not run tests that were previously working (10 days ago). When app is installed and invoked it is failing immediately with the error mentioned below on the line '@app.startup.start_button.click`
Environment
I get the following error:
NoMethodError: undefined method
to_sym' for nil:NilClass`Spec_helper:
Page:
App.page:
The text was updated successfully, but these errors were encountered: