Capybara Upgrade 2.14.0 to 3.39.0 related Issue #2731
raoehtesham03
started this conversation in
General
Replies: 1 comment 8 replies
-
It sounds like you are doing a big upgrade in one go, so the cause of this could be anywhere. I recommend upgrading each dependency separately, and running the specs and committing after each upgrade. Then, once the problematic dependency is found, you can try making the upgrade for that dependency smaller. For example, you were not using the latest 2.x version of capybara before. So it is best to first upgrade to 2.18.0 of capybara. The same may apply to other dependencies. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have upgraded my rails application from ruby 2.7.8 to 3.0.6. With this I also upgraded Capybara to 2.14.0 to 3.39.0.
But when I am running the feature test cases, my feature test cases as they are not able to find the xpath as the data/page is not loaded
completely till now.
So, how to handle this?
Ruby - 3.0.6
Rails - 6.1
Capybara - 3.39.0
Below is my Capybara.rb file.
`
require "capybara/poltergeist"
require "selenium/webdriver"
`
Error
Failure/Error: find(".flexible-col.ml-auto.btn-group.ilter-button.ng-scope").click
Beta Was this translation helpful? Give feedback.
All reactions