ckeditor / ckeditor4-react

Official CKEditor 4 React component.
Other
95 stars 51 forks source link

Investigate test flakiness #293

Open MMMalik opened 1 year ago

MMMalik commented 1 year ago

Are you reporting a feature request or a bug?

Task

Provide detailed reproduction steps (if any)

It happens occasionally that unit tests start failing without any apparent cause even if there were no code changes: https://github.com/ckeditor/ckeditor4-react/pull/292.

While they are called "unit tests", in fact these tests don't really fulfill the requirements of unit testing:

Current stack:

Perhaps our current approach can be improved?

Expected result

Unit tests are fast and reliable.

Actual result

Unit tests occasionally fail for unclear reasons.