Files
angular__angular/test
Paul Gschwendtner 478a2e4269 chore(focus-classes): fix failing tests when browser is blurred (#2935)
* chore(focus-classes): fix failing tests when browser is blurred

On Saucelabs, browsers will run simultaneously and therefore can't focus all browser windows at the same time.
This is problematic when testing focus states. Chrome and Firefoxonly fire FocusEvents when the window is focused. This issue also appears locally.

Fixes #2903.

* Extract patch logic into extra function
2017-02-09 07:02:24 +08:00
..