Problem/Motivation
As of JavaScript errors thrown in FunctionalJavascript tests are now caught, JS Tests will throw errors if there are js errors present in the console.
As of this, we should move our Tests to Functional JS Tests to also have this covered up
Proposed resolution
Move Tests to Functional JS
Issue fork facebook_pixel-3303137
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
anybodyGreat! :) Thank you!
Comment #3
grevil commentedI came to the conclusion, to not move all tests to Functional Javascript, but instead create separate Functional Javascript Tests, since moving the tests would need a lot of refactoring (statusCodeEquals() is not available in JS tests, elements can be invisible, etc.).
Comment #5
anybodyAll pass, all good! Great work once again :)
Comment #6
grevil commentedPerfect! Lets commit this :)