ui-ace icon indicating copy to clipboard operation
ui-ace copied to clipboard

Protractor testing

Open gad2103 opened this issue 10 years ago • 1 comments

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!

gad2103 avatar Aug 10 '15 23:08 gad2103

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.

ashitvora-zz avatar Dec 20 '17 06:12 ashitvora-zz