question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[UI Tests] unknown character with capital letters in forms

See original GitHub issue

Issue

When executing an UI Test on forms with capital letters, we receive warnings. The issue does not happen, when lower case characters are entered.

Files

myproject.zip

How to reproduce

Download linked file and execute tests with mvn clean test -Dtest=UiRunner

Feature: Capital letters

Scenario: Enter a password
  Given driver "https://the-internet.herokuapp.com/login"

  When input("#password", "ABC")

Actual Result

Log with warnings

10:14:12.107 [main] WARN  c.i.k.driver.chrome_1647422049068 - unknown character / key code: A
10:14:12.108 [main] DEBUG c.i.k.driver.chrome_1647422049068 - >> {"id":8,"sessionId":"57871B91768D3DB125313A6B485E536C","method":"Input.dispatchKeyEvent","params":{"modifiers":0,"type":"char","text":"A"}}
10:14:12.126 [nioEventLoopGroup-2-1] DEBUG c.i.k.driver.chrome_1647422049068 - << {"id":8,"result":{},"sessionId":"57871B91768D3DB125313A6B485E536C"}
10:14:12.127 [main] WARN  c.i.k.driver.chrome_1647422049068 - unknown character / key code: B
10:14:12.128 [main] DEBUG c.i.k.driver.chrome_1647422049068 - >> {"id":9,"sessionId":"57871B91768D3DB125313A6B485E536C","method":"Input.dispatchKeyEvent","params":{"modifiers":0,"type":"char","text":"B"}}
10:14:12.144 [nioEventLoopGroup-2-1] DEBUG c.i.k.driver.chrome_1647422049068 - << {"id":9,"result":{},"sessionId":"57871B91768D3DB125313A6B485E536C"}
10:14:12.144 [main] WARN  c.i.k.driver.chrome_1647422049068 - unknown character / key code: C
10:14:12.145 [main] DEBUG c.i.k.driver.chrome_1647422049068 - >> {"id":10,"sessionId":"57871B91768D3DB125313A6B485E536C","method":"Input.dispatchKeyEvent","params":{"modifiers":0,"type":"char","text":"C"}}
10:14:12.152 [nioEventLoopGroup-2-1] DEBUG c.i.k.driver.chrome_1647422049068 - << {"id":10,"result":{},"sessionId":"57871B91768D3DB125313A6B485E536C"}

Expectiation

No Warning logged

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bipin-kcommented, Jul 11, 2022

@ptrthomas The above issues for warning with capital letters had been resolved with PR! cc: @Ranitzky

0reactions
ptrthomascommented, Nov 2, 2022

1.3.0 released

Read more comments on GitHub >

github_iconTop Results From Across the Web

Today I came across a completely unknown character, which ...
For example 'E' is U+FF25 which is described in the Unicode code charts as "FULLWIDTH LATIN CAPITAL LETTER E".
Read more >
Check whether the first character of a string is uppercase or not
JavaScript exercises, practice and solution: Write a JavaScript program to test the first character of a string is uppercase or not.
Read more >
What is the Regular Expression for all UPPERCASE letters on ...
I use the website regex101.com for a quick reference to answering questions like this, and it speeds up the process of testing your...
Read more >
BDD 101: Writing Good Gherkin | Automation Panda
The Known Unknowns. Test data can be difficult to handle. Sometimes, it may be possible to seed data in the system and write...
Read more >
Letter case - Wikipedia
Letter case is the distinction between the letters that are in larger uppercase or capitals (or more formally majuscule) and smaller lowercase (or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found