Taiko: Unable to write language specific characters in 1.0.3

Created on 29 Jan 2020  路  10Comments  路  Source: getgauge/taiko

Expected behavior

Open Google.com and attempt to write 忙酶氓 in search box.

Expected behvior: The 忙氓酶 string is written in the search box.

Actual behavior

Tell us what happens instead
Exception:
Error: Unknown key: "忙"
at assert (npmnode_modules\taiko\lib\helper.js:83:11)
at _keyDescriptionForString (npmnode_modules\taiko\lib\handlersinputHandler.js:81:3)
at Object._down [as down] (npmnode_modules\taiko\lib\handlersinputHandler.js:33:23)
at _write (npmnode_modules\taiko\lib\taiko.js:1455:24)
at async npmnode_modules\taiko\lib\taiko.js:1430:24
at async doActionAwaitingNavigation (npmnode_modules\taiko\lib\taiko.js:3410:5)
at async module.exports.write (npmnode_modules\taiko\lib\taiko.js:1398:3)
at async module.exports. (npmnode_modules\taiko\lib\taiko.js:3654:14)
at async global. (npmnode_modules\taiko\bin\runFile.js:44:15)

Versions

Working;
Version: 1.0.2 (Chromium:76.0.3803.0)
[email protected]

Not working:
Version: 1.0.3 (Chromium:81.0.3994.0)
[email protected]

Most helpful comment

is it fixed yet?

All 10 comments

@mcalster I'm able to replicate this issue. We will try to prioritize and fix it.

is it fixed yet?

related #1091

The cause is that taiko refers to a specific keyboard layout for mapping the keycodes to a character as defined in USKeyboardLayout.js

This needs to be enhanced to support other keyboard layouts and allow entering other characters (including unicode).

is there any alternative way to overcome it?

is there any alternative way to overcome it?

You could downgrade to the previous version, which doesn't have that behavior.

can you please elaborate?

@SanjuSona-19 #1096 Should address this. We will try to push a release with this soon.

Thanks @BugDiver , do we need to update the version?

@srikanthgoudm The fix is still in the master branch (not released at this moment). So you can install it from the Github master version.

Fixed on Taiko 1.0.4

Was this page helpful?
0 / 5 - 0 ratings