rails-dom-testing icon indicating copy to clipboard operation
rails-dom-testing copied to clipboard

assert_dom strict parameter

Open jyeharry opened this issue 9 months ago • 2 comments

  • Add macos to supported platforms in Gemfile.lock
  • Add failing test for assert_dom collapsing whitespace
  • Add strict parameter to assert_dom

Fixes #121

Adds a :strict key to the equality test hash for assert_dom, so that we can specify whether or not to ignore excess whitespace just as the browser does.

I prefer the solution in #123. This was created since the issue I created specifically mentioned creating a :strict parameter.

jyeharry avatar Mar 10 '25 12:03 jyeharry

OK, main is green, so please rebase when you have a chance.

flavorjones avatar Mar 10 '25 14:03 flavorjones

@flavorjones Rebased and tests and ci is passing

jyeharry avatar Mar 15 '25 03:03 jyeharry

@flavorjones just following up on this

jyeharry avatar Apr 01 '25 09:04 jyeharry