Create a test util for checking few assertions for different browsers #2927
Labels
package:core
type:task
This issue reports a chore (non-production change) and other types of "todos".
Milestone
Some of the tests fail because a selection on different browsers behave unpredictable but it is still correct.
For example – https://github.com/ckeditor/ckeditor5-link/issues/158#issuecomment-342729084 – this test fail on Edge because a selection is at the end of a element and inside it. Edge expects that the end of the selection will be after the element.
We could have the util which checks whether specified assertions are correct. If one of them will pass, the test is marked as passed. If all assertions will fail, the test is marked as fail and all errors will be logged.
The text was updated successfully, but these errors were encountered: