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

unit test #45

Open
qknight opened this issue Nov 2, 2017 · 3 comments
Open

unit test #45

qknight opened this issue Nov 2, 2017 · 3 comments

Comments

@qknight
Copy link
Contributor

qknight commented Nov 2, 2017

i want to use javascript with selenium to test if leaps is working correctly but i don't know how to insert 'text' into the textedit.

are you doing that already? any idea welcome!

@qknight
Copy link
Contributor Author

qknight commented Nov 2, 2017

oh, just found it:
$('.ace_line').innerHTML="asdfasdf"

@qknight qknight closed this as completed Nov 2, 2017
@Jeffail
Copy link
Owner

Jeffail commented Nov 2, 2017

@qknight, sounds like a good idea, let me know how it goes!

@qknight qknight reopened this May 9, 2018
@qknight
Copy link
Contributor Author

qknight commented Aug 4, 2018

i'd like to test the editor interactively but i don't have an idea how to do that. are there specific client commands like: move cursor right, insert letter x, tell me where the curser is in the document, get word after cursor and so on?

that would make testing easy and i'd like to finish this test soon as leaps keeps breaking and i need proper testing for the WS stuff and so on.

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

No branches or pull requests

2 participants