Module: Spreewald

Defined in:
lib/steps/follow_the_link.rb,
lib/steps/show_me_the_mails.rb,
lib/spreewald_support/github.rb,
lib/spreewald_support/version.rb,
lib/spreewald_support/comparison.rb,
lib/spreewald_support/driver_info.rb,
lib/spreewald_support/field_errors.rb,
lib/spreewald_support/compatibility.rb,
lib/spreewald_support/without_waiting.rb,
lib/spreewald_support/capybara_wrapper.rb,
lib/spreewald_support/unsupported_email_header.rb,
lib/spreewald_support/mail_to_plaintext_converter.rb

Defined Under Namespace

Modules: Comparison, Compatibility, DriverInfo, Steps, WithoutWaiting Classes: CapybaraWrapper, FieldErrorFinder, MailToPlaintextConverter, UnsupportedEmailHeader

Constant Summary collapse

VERSION =
'4.6.4'
SUPPORTED_EMAIL_HEADERS =
["To", "CC", "BCC", "From", "Reply-To", "Subject", "Attachments"]

Class Method Summary collapse

Class Method Details

.error_message_xpath_selectorObject



13
14
15
# File 'lib/spreewald_support/field_errors.rb', line 13

def self.error_message_xpath_selector
  self.instance_variable_get('@error_message_xpath_selector')
end

.error_message_xpath_selector=(message_selector) ⇒ Object

The XPath to the HTML-element that renders your validation/error message. The current node to start from is the input-field that is validated.



19
20
21
# File 'lib/spreewald_support/field_errors.rb', line 19

def self.error_message_xpath_selector=(message_selector)
  self.instance_variable_set('@error_message_xpath_selector', message_selector)
end

.field_error_classObject



5
6
7
# File 'lib/spreewald_support/field_errors.rb', line 5

def self.field_error_class
  self.instance_variable_get('@field_error_class')
end

.field_error_class=(error_class) ⇒ Object



9
10
11
# File 'lib/spreewald_support/field_errors.rb', line 9

def self.field_error_class=(error_class)
  self.instance_variable_set('@field_error_class', error_class)
end

.github_urlObject



4
5
6
# File 'lib/spreewald_support/github.rb', line 4

def self.github_url
  "https://github.com/makandra/spreewald"
end