Merge branch 'master' of git@github.com:brynary/webrat
This commit is contained in:
commit
f4f0e3b6a7
@ -7,6 +7,8 @@
|
|||||||
|
|
||||||
* Bug fixes
|
* Bug fixes
|
||||||
|
|
||||||
|
* Switch to using selenium.click instead of .check when checking a checkbox
|
||||||
|
(Noah Davis)
|
||||||
* Setup deprecated writers for the selenium_environment= and selenium_port= config
|
* Setup deprecated writers for the selenium_environment= and selenium_port= config
|
||||||
* Ensure the previous pages params aren't passed through redirect
|
* Ensure the previous pages params aren't passed through redirect
|
||||||
* Labels should only search for fields within the current scope (Kyle Hargraves)
|
* Labels should only search for fields within the current scope (Kyle Hargraves)
|
||||||
|
@ -111,7 +111,7 @@ module Webrat
|
|||||||
def check(label_text)
|
def check(label_text)
|
||||||
locator = "webrat=#{label_text}"
|
locator = "webrat=#{label_text}"
|
||||||
selenium.wait_for_element locator, 5
|
selenium.wait_for_element locator, 5
|
||||||
selenium.check locator
|
selenium.click locator
|
||||||
end
|
end
|
||||||
|
|
||||||
webrat_deprecate :checks, :check
|
webrat_deprecate :checks, :check
|
||||||
|
Loading…
Reference in New Issue
Block a user