CI now runs selenium tests from extension/skin

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

CI now runs selenium tests from extension/skin

Antoine Musso-3
Hello,

Adam Wight enhanced our MediaWiki test runner (Quibble) so that it now
detects whether an extension / skins has a 'selenium-test' script
defined in package.json. If so, for each repositories it will:

    npm install
    npm run selenium-test

The feature has been long awaited, that will lets developers upgrade
webdriver.io at their own pace and use their preferred framework (mocha
or cucumber).


Until now, we were running the Selenium tests from mediawiki/core which
made it next to impossible to upgrade webdriver.io.


The task was: https://phabricator.wikimedia.org/T199116

cheers,

--
Antoine "hashar" Musso


_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Reply | Threaded
Open this post in threaded view
|

Re: CI now runs selenium tests from extension/skin

Kosta Harlan
Nicely done Adam and Antoine, thanks for doing this!

Kosta

> On Jul 26, 2019, at 1:32 AM, Antoine Musso <[hidden email]> wrote:
>
> Hello,
>
> Adam Wight enhanced our MediaWiki test runner (Quibble) so that it now detects whether an extension / skins has a 'selenium-test' script defined in package.json. If so, for each repositories it will:
>
>   npm install
>   npm run selenium-test
>
> The feature has been long awaited, that will lets developers upgrade webdriver.io at their own pace and use their preferred framework (mocha or cucumber).
>
>
> Until now, we were running the Selenium tests from mediawiki/core which made it next to impossible to upgrade webdriver.io.
>
>
> The task was: https://phabricator.wikimedia.org/T199116
>
> cheers,
>
> --
> Antoine "hashar" Musso
>
>
> _______________________________________________
> Wikitech-l mailing list
> [hidden email]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l


_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l