-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
fix(Entire Browser): make sure input recording with japanese IME Work #16210
Conversation
This patch fixes recorder stack problem with japanese IME.
681232289.783875.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also add a test for this?
sure, why not! |
Changed the process of receiving Process key input to be performed by JavaScript injected into the page being recorded.
[Fix] Process key input acceptance processing is now handled by JavaScript injected into the Page object.
I changed my patch with an advice by my boss like this. packages/playwright-core/src/server/injected/recorder.ts:329 It works fine, But I am not sure where the test file is. Could you kindly tell me where the file which test "injected/recorder.ts" is? I suppose that I should just add 'Process' to the test file. Thank you. |
Here would be a nice place to add a test / test this special case:
|
Thank you for your replying. I heard about the file from my boss. I can fill input element by japanese and test will be passed without this patch. But I can't record japanese Input with playwright codegen. So ,I think i should modify here.
I wrote test code like below, But It doesnt work due to timeout.
How do I test? |
This patch fixes recorder stack problem with japanese IME.
Hi. Finally, our modify is passed the test on my local enviroment. Thank you. |
@YA2KM heads up, I had to revert the change as the test was failing on all bots. Feel free to open another PR with a passing test. |
I think I broke it with my "formatting fixes", let me reland it. |
microsoft#16393) Revert "fix(codegen): make sure input recording with japanese IME Work (microsoft#16210)" This reverts commit 925de8d.
fix(Entire Browser): make sure input recording with japanese IME Work
Input events are not recoreded collectry with japanese IME.
thir problem caused by invaliid key event "Prosess".
"_performAction" receives fuge amount of "Prosess Key event " in a short moment with japanese IME.
This patch fixes this problem.