Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Protractor testing #117

Open
gad2103 opened this issue Aug 10, 2015 · 1 comment
Open

Protractor testing #117

gad2103 opened this issue Aug 10, 2015 · 1 comment

Comments

@gad2103
Copy link

gad2103 commented Aug 10, 2015

Hello there. Thanks for this great directive! i'm trying to test a form that uses ui ace editor and i can't programmatically send keys to the ace editor.
i'm using version 0.2.3 of ui-ace with angular 1.3.x and protractor 2.0

using the following won't work:

element(by.model('my-model')).sendKeys('some text');

I also tried using jQuery to send keys to the ace_editor to no avail. It seems like there should be some integration with Protractor so that it is easy to simulate sending keypresses to the editor.

If I'm missing something please let me know. Thanks!

@ashitvora-zz
Copy link

Was this issue ever resolved?
I am trying to implement the same and the error I am getting is that Element is not User Editable.

Failed: invalid element state: Element must be user-editable in order to clear it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants