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

Add a(n E2E) test for basic (left) arrow key usage #8492

Merged
merged 7 commits into from
Jul 11, 2020

Conversation

haqer1
Copy link
Contributor

@haqer1 haqer1 commented Jul 9, 2020

Fixes: #8483

Description

Helps ensure that Selenium supports basic (left) arrow key usage

Motivation and Context

I used this to determine that the issue i've worked around stems from Quill(JS.com), rather than Selenium

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@AutomatedTester
Copy link
Member

just going to wait for travis before merging

@haqer1
Copy link
Contributor Author

haqer1 commented Jul 9, 2020

just going to wait for travis before merging

Cool.

P.S. FYI, i re-used single_text_input.html (re-use of code that already exists is frequently the best thing to do, & seems to be the case for the page aspect here).

…in this class)

Fixes: SeleniumHQ#8483
Reviewed-By: David Burns <david.burns@theautomatedtester.co.uk>
Copy link
Member

@diemol diemol left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution @haqer1!

@diemol diemol merged commit 0c06289 into SeleniumHQ:trunk Jul 11, 2020
titusfortner pushed a commit to titusfortner/selenium that referenced this pull request Aug 13, 2020
* Add a(n E2E) test for (left) arrow key usage

Fixes: SeleniumHQ#8483

* Updates based on code review: local constants, & usage of local page

Fixes: SeleniumHQ#8483
Reviewed-By: David Burns <david.burns@theautomatedtester.co.uk>

* Use assertThat(actual).isEqualTo(expected) (based on prevalent usage in this class)

Fixes: SeleniumHQ#8483
Reviewed-By: David Burns <david.burns@theautomatedtester.co.uk>

Co-authored-by: David Burns <david.burns@theautomatedtester.co.uk>
Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
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.

(Multiple) webElement.sendKeys(Keys.LEFT) do(es)n't work on a Quill(JS.com) editor
3 participants