diff --git a/tests/Js/EventsTest.php b/tests/Js/EventsTest.php index f5383e7..650379e 100644 --- a/tests/Js/EventsTest.php +++ b/tests/Js/EventsTest.php @@ -68,6 +68,7 @@ public function testBlur(): void $focusBlurDetector = $this->getAssertSession()->elementExists('css', '.elements input#focus-blur-detector'); $this->assertEquals('no action detected', $focusBlurDetector->getValue()); + $focusBlurDetector->focus(); $focusBlurDetector->blur(); $this->assertEquals('blured', $focusBlurDetector->getValue()); }