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

"Input" event is raised with wrong selection value when input value was changed #1388

Closed
kirovboris opened this issue Apr 10, 2017 · 4 comments
Labels
AREA: client BROWSER: Chrome STATE: Auto-locked An issue has been automatically locked by the Lock bot. SYSTEM: automations TYPE: bug The described behavior is considered as wrong (bug).
Milestone

Comments

@kirovboris
Copy link
Collaborator

kirovboris commented Apr 10, 2017

Are you requesting a feature or reporting a bug?

bug

What is the current behavior?

.pressKey('enter') works incorrect, content inserts a part of code instead of new line.

Provide the test code and the tested page URL (if applicable)

Test code

fixture `Monaco test`.page('https://microsoft.github.io/monaco-editor/playground.html');

test('Enter button handler', async t => {
        //Some extra steps as workaround for #1385
	for(var i=0; i< 10; i++) {
		await t.pressKey('tab');
		await t.wait(500);
	}
	
	for(var i=0; i< 10;i++) {
		await t.pressKey('enter');
		await t.wait(500);
	}
});

Specify your

  • operating system: win 7
  • testcafe version: 0.14.0
  • node.js version: 6.5.0
@kirovboris kirovboris added AREA: client BROWSER: Chrome SYSTEM: automations TYPE: bug The described behavior is considered as wrong (bug). labels Apr 10, 2017
@kirovboris kirovboris changed the title Incorrect enter handler in monaco editor Incorrect enter emulation at during testing of monaco editor Apr 10, 2017
@AlexanderMoskovkin AlexanderMoskovkin added this to the Sprint #6 milestone Apr 10, 2017
@AlexanderMoskovkin
Copy link
Contributor

I'm working on this

@VasilyStrelyaev VasilyStrelyaev changed the title Incorrect enter emulation at during testing of monaco editor "Input event raised with wrong selection value when input value was changed Apr 24, 2017
@VasilyStrelyaev VasilyStrelyaev changed the title "Input event raised with wrong selection value when input value was changed "Input" event is raised with wrong selection value when input value was changed Apr 24, 2017
@kirovboris kirovboris reopened this May 16, 2017
@kirovboris
Copy link
Collaborator Author

kirovboris commented May 16, 2017

It's still not fixed. I've tried to run test in [email protected]. Watch video
https://www.screencast.com/t/GcOGmAGai

@AlexanderMoskovkin
Copy link
Contributor

After some investigation I've found the initial problem is successfully resolved.
I've reproduced the problem from the video in the previous comment and I've created a separated issue for it: #1499

@lock
Copy link

lock bot commented Mar 29, 2019

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow.

@lock lock bot added the STATE: Auto-locked An issue has been automatically locked by the Lock bot. label Mar 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
AREA: client BROWSER: Chrome STATE: Auto-locked An issue has been automatically locked by the Lock bot. SYSTEM: automations TYPE: bug The described behavior is considered as wrong (bug).
Projects
None yet
Development

No branches or pull requests

2 participants