diff --git a/tests/Js/EventsTest.php b/tests/Js/EventsTest.php index 50085cb..ce681b0 100644 --- a/tests/Js/EventsTest.php +++ b/tests/Js/EventsTest.php @@ -69,6 +69,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()); }