Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improving testFocus and testBlur #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oleg-andreyev
Copy link
Contributor

- added test on anchor element
@@ -56,6 +56,15 @@ public function testFocus()

$focusBlurDetector->focus();
$this->assertEquals('focused', $focusBlurDetector->getValue());

$focusableAnchor = $this->getAssertSession()->elementExists('css', '.elements a#focusable');
$this->assertEquals('no action detected', $focusableAnchor->getText());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be added as a separate tests. We want granular tests in that testsuite to make it easier to skip them when needed for unsupported things in each driver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants