natritmeyer/site_prism

Input Blocks are not validated / errored for some DSL methods (element/elements)

luke-hill opened this issue · 1 comments

Issue to raise for SitePrism framework

Create a page / section with the following items

element :foo, '.baz' { puts :hello }
elements :bar, '.bazzy' { fail 'will not fail' }
# section and sections and iframe all work correctly

Environment

  • Operating System (Ubuntu Bionic)
  • What Gems / Versions you are using (SitePrism 3.2, Capybara 3.13)
  • How you're interacting with the Framework (Cucumber Tests / RSpec Units)
  • Browser/s Driver/s being used - with version numbers (Latest Chrome, Latest Firefox)

Expected Behavior

These should be caught

Actual Behavior

These aren't caught

Steps to reproduce

As written above