Re: WebDriver Test Suite

Hi Jonathan,

I'm in the process of updating some tests for the "Get Active Element" 
command. Not sure if you've decided on your next steps, but I'll let you 
know when I've submitted it so that we avoid duplicating efforts there.


On 03/31/2017 02:47 PM, Jonathan Lipps wrote:
> Thanks, James! I didn't know about the web-platform-tests as a general 
> W3C thing. I guess it makes sense that webdriver would be one piece in 
> a bigger validation process. I'll see if I can get wptrunner going 
> with current tests then look for something to dig into as an easy 
> first contribution.
>
> --
> *Jonathan Lipps*
> *Director of Open Source*
> Twitter: @jlipps <http://twitter.com/jlipps>
> GitHub: @jlipps <https://github.com/jlipps>
> Sauce Labs <http://saucelabs.com/> | Sauce blog <http://sauceio.com/>
>
>> On Mar 30, 2017, at 11:17 PM, James Graham <james@hoppipolla.co.uk 
>> <mailto:james@hoppipolla.co.uk>> wrote:
>>
>> On 31/03/17 00:24, Jonathan Lipps wrote:
>>> Hi all,
>>>
>>> I'm new to the correspondence here and don't really know what's at
>>> stake. Are these tests browser-specific? (I.e., tests of an
>>> implementation of the spec in a certain browser) Or are they somehow
>>> more general tests of the algorithms defined in the spec, in a
>>> browser-agnostic fashion? I did a bit of digging but couldn't find an
>>> existing suite to look at---presumably that's why you're all
>>> discussing how to get started!
>>
>> The test suite is intended to be implementation-independent as far as 
>> possible (there are some details in WebDriver that make it hard to 
>> set up a 100% implementation-independent implementation). The 
>> existing test suite is at [1] and there are a few more PRs open [2].
>>
>>> I'm happy to jump in and help with some test-writing if it's
>>> feasible. Or if Sauce Labs's webdriver cloud infrastructure can be of
>>> use, I can see what I can do about that as well.
>>
>> The main shared tool for running these tests is wptrunner [3] 
>> (although it is intended that with some setup one can use py.test 
>> directly), which has a PR open for the ability to run some tests — 
>> although not yet the WebDriver tests — though sauce [4]. However I 
>> think that right now the most valuable contribution is definitely 
>> writing tests.
>>
>> [1] https://github.com/w3c/web-platform-tests/tree/master/webdriver
>> [2] https://github.com/w3c/web-platform-tests/labels/webdriver
>> [3] https://github.com/w3c/wptrunner
>> [4] https://github.com/w3c/wptrunner/pull/243
>>
>

Received on Monday, 3 April 2017 19:45:59 UTC