Sha256: ba834c6a068941305ff3cd249c6e214c977b88aec7607aebb4d44c09ce4045e2

Contents?: true

Size: 385 Bytes

Versions: 15

Compression:

Stored size: 385 Bytes

Contents

Then /^I set the custom field error class to "([^"]+)"$/ do |error_class|
  Spreewald.field_error_class = error_class
end

Then /^I set the custom error message xpath to "(.+)"$/ do |error_message_xpath|
  Spreewald.error_message_xpath_selector = error_message_xpath
end

After('@field_errors') do
  Spreewald.field_error_class = nil
  Spreewald.error_message_xpath_selector = nil
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
spreewald-4.6.3 tests/rails-7_capybara-3/features/step_definitions/field_error_steps.rb
spreewald-4.6.2 tests/rails-7_capybara-3/features/step_definitions/field_error_steps.rb
spreewald-4.6.1 tests/rails-7_capybara-3/features/step_definitions/field_error_steps.rb
spreewald-4.6.0 tests/rails-7_capybara-3/features/step_definitions/field_error_steps.rb
spreewald-4.5.1 tests/rails-7_capybara-3/features/step_definitions/field_error_steps.rb
spreewald-4.5.0 tests/rails-7_capybara-3/features/step_definitions/field_error_steps.rb
spreewald-4.4.4 tests/rails-7_capybara-3/features/step_definitions/field_error_steps.rb
spreewald-4.4.3 tests/rails-7_capybara-3/features/step_definitions/field_error_steps.rb
spreewald-4.4.2 tests/rails-7_capybara-3/features/step_definitions/field_error_steps.rb
spreewald-4.4.1 tests/rails-7_capybara-3/features/step_definitions/field_error_steps.rb
spreewald-4.4.0 tests/rails-7_capybara-3/features/step_definitions/field_error_steps.rb
spreewald-4.3.6 tests/rails-6_capybara-3/features/step_definitions/field_error_steps.rb
spreewald-4.3.5 tests/rails-6_capybara-3/features/step_definitions/field_error_steps.rb
spreewald-4.3.4 tests/rails-6_capybara-3/features/step_definitions/field_error_steps.rb
spreewald-4.3.3 tests/rails-6_capybara-3/features/step_definitions/field_error_steps.rb