mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
DSL was missing new has_no_* methods causing spec failures. Added #locate
This commit is contained in:
parent
eb82466fe6
commit
5f9365da5c
1 changed files with 4 additions and 3 deletions
|
@ -48,10 +48,11 @@ module Capybara
|
|||
|
||||
SESSION_METHODS = [
|
||||
:visit, :current_url, :body, :click_link, :click_button, :drag, :fill_in,
|
||||
:choose, :has_xpath?, :has_css?, :check, :uncheck, :attach_file, :select,
|
||||
:has_content?, :within, :within_fieldset, :within_table,
|
||||
:choose, :has_xpath?, :has_no_xpath?, :has_css?, :has_no_css?,
|
||||
:check, :uncheck, :attach_file, :select,
|
||||
:has_content?, :has_no_content?, :within, :within_fieldset, :within_table,
|
||||
:save_and_open_page, :find, :find_field, :find_link, :find_button,
|
||||
:field_labeled, :all, :wait_for, :wait_for_condition, :evaluate_script,
|
||||
:field_labeled, :all, :locate, :evaluate_script,
|
||||
:click, :wait_until
|
||||
]
|
||||
SESSION_METHODS.each do |method|
|
||||
|
|
Loading…
Reference in a new issue