You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add integration test for 'input' event for <input> elements #9131
changed the title [-]Add unit test for 'input' event for <input> elements[/-][+]Add integration test for 'input' event for <input> elements[/+]on Jan 2, 2016
I'd like to handle this one since I wrote #9122, but I'm unfamiliar with the servo test setup and not sure where to start. Are there some existing tests for events or key press handling that I can use as a reference?
@ckimes89: @nox and I just briefly discussed this on IRC. Considering the input event only gets triggered when the user modifies the value of an <input> element, we might need to wait until we have all the WebDriver commands implemented (#8623). WebDriver is a testing framework similar to Selenium that simulates user interaction
@frewsxcv@nox It looks like Element Send Keys from WebDriver is already implemented which I think is the only thing needed to test the input event. However, I'm not sure how to use WebDriver in the test suite, are there any examples for this?.
Activity
[-]Add unit test for 'input' event for <input> elements[/-][+]Add integration test for 'input' event for <input> elements[/+]chkimes commentedon Jan 2, 2016
I'd like to handle this one since I wrote #9122, but I'm unfamiliar with the servo test setup and not sure where to start. Are there some existing tests for events or key press handling that I can use as a reference?
nox commentedon Jan 2, 2016
@frewsxcv Ew, I'm blind. Sorry for this.
frewsxcv commentedon Jan 3, 2016
@ckimes89: @nox and I just briefly discussed this on IRC. Considering the
inputevent only gets triggered when the user modifies the value of an<input>element, we might need to wait until we have all the WebDriver commands implemented (#8623). WebDriver is a testing framework similar to Selenium that simulates user interactionchkimes commentedon Mar 7, 2016
@frewsxcv @nox It looks like Element Send Keys from WebDriver is already implemented which I think is the only thing needed to test the input event. However, I'm not sure how to use WebDriver in the test suite, are there any examples for this?.
jdm commentedon Mar 7, 2016
Unfortunately not. That is part of an ongoing project that will hopefully yield useful results to build on.