applitools / Eyes.Selenium.Ruby

Deprecated! Applitools Eyes Ruby SDK for Selenium WebDriver
Other
11 stars 11 forks source link

undefined method error in version 2.17.0 #19

Closed tourdedave closed 9 years ago

tourdedave commented 9 years ago

Seeing a failure when using @eyes.check_window(""). Here's the error:

undefined method `extract_viewport_from_browser' for #<Applitools::Base::Dimension:0x007fb1b2eeaf50> (NoMethodError)

No issue with version 2.16.0.

lbeder commented 9 years ago

Which tests were you running?

tourdedave commented 9 years ago

No tests in this project. Tests in a project of mine. I amended the copy to be more clear.

lbeder commented 9 years ago

Thanks for reporting. We'll take a look.

tourdedave commented 9 years ago

I published my example code here.

lbeder commented 9 years ago

Could you please include the entire exception trace? I find it hard to reproduce the issue.

tourdedave commented 9 years ago

Next time I'm at my computer I will.

You should be able to reproduce it by cloning my repo, bumping the eyes_selenium version in the Gemfile to 2.17, doing a bundle install, and running the suite (e.g., bundle exec cucumber).

Right now it's set to 2.16.

bootstraponline commented 9 years ago

bundle exec cucumber -b produced the full stack trace which I've posted to this gist.

lbeder commented 9 years ago

Thanks everyone! The issue was fixed and a new version should be released soon.