Unstable 'paste' and 'afterPaste' tests on FF
Are you reporting a feature request or a bug?
Unstable tests
Provide detailed reproduction steps (if any)
- Run tests with
npm run test - See the result in FF
- If everything passed, try again
Expected result
Tests pass each time.
Actual result
Tests for paste and afterPaste events are unstable and fail sometimes.
Other details
I'm not sure but it can be caused by changes introduced in #115.
- Browser: FF 78
- OS: macOS
- Integration version:
1.2.2 - CKEditor version:
4.14.1 - Installed CKEditor plugins: default
That's sad as we just fixed it for IE11 :sob: Anyway, maybe fixes introduced in #115 should be done for IE11 only and for the rest of the browsers it should be done as before the fix :thinking:
I cannot reproduce it on Linux Fedora 32. They also don't seem to fail on CI. @Dumluregn is this issue macOS specific?
Not sure. It occurs pretty consistently for me, so if you can't reproduce it you may be right that it happens on macOS only. @f1ames @hub33k could you check if tests fail on your machines?
It fails on my machine (Manjaro Linux). For the first time it passes but when I run tests for the second time, it fails.
It seems the tests pass on FF if the browser is focused and fail otherwise. Could you guys check if that's true for you? @jacekbogdanski @hub33k
Yes, these tests fails for me when FF is not focused.
Let's leave it for now since it passes on CI.
I see that these tests are failing for me know just regularly:

(4 of them based on afterPaste event)
Edit: I didn't notice https://github.com/ckeditor/ckeditor4-angular/issues/119#issuecomment-666331780 and indeed that's the troubling part.
Seems like these tests always fail now :disappointed: