Cucumber, Capybara validating HTML and testing JavaScript together fails
-
16-09-2020 - |
문제
I've recently added html validation to my cucumber features. I'm using the gem be_valid_asset which works really well until Cucumber hits a @javascript flagged feature. This kicks in culerity (I've tried selenium for this as well) and then the html validation fails.
The reason the validation fails is that both culerity and selenium appear to remove the doctype from the page.
Has anyone else had this?
해결책
Change in strategy mentioned above is working a treat
제휴하지 않습니다 StackOverflow