class Cucumber::Salad::Widgets::FieldGroup::Field
A form field.
Public Class Methods
find_in(parent, options)
click to toggle source
# File lib/cucumber/salad/widgets/field_group.rb, line 246 def self.find_in(parent, options) new({root: parent.find_field(selector)}.merge(options)) end
present_in?(parent)
click to toggle source
# File lib/cucumber/salad/widgets/field_group.rb, line 250 def self.present_in?(parent) parent.has_field?(selector) end
Public Instance Methods
get()
click to toggle source
@return This field’s value.
Override this to get the actual value.
# File lib/cucumber/salad/widgets/field_group.rb, line 257 def get raise NotImplementedError end
set(value)
click to toggle source
Sets the field value.
Override this to set the value.
# File lib/cucumber/salad/widgets/field_group.rb, line 264 def set(value) raise NotImplementedError end