[QA] Reg::Running of links.feature tests

Chris McMahon cmcmahon at wikimedia.org
Tue May 20 17:59:02 UTC 2014


Hi Jagori,


On Mon, May 19, 2014 at 5:36 PM, jagori samajdar <jagori79 at gmail.com> wrote:

>
>    - at should I set for MEDIAWIKI_API_URL?It's prompting me to specify
>    this env variable before running.
>
>
Generally the api URL is <yourwiki>/w/api.php .  For example "export
MEDIAWIKI_API_URL=http://en.wikipedia.beta.wmflabs.org/w/api.php"


>
>    - Also where are the steps under Background usually defined?By that am
>    referring to links.feature file      Background:
>
>                                                               Given I go to
>    the "Links VisualEditor Test" page with content "Links VisualEditor Test"
>                                                  I was trying to have a look
>    at the step definition file for this
>    - Also,was seeing under env.rb :mediawiki_api is a required gem.What
>    purpose does it serve?I know  mediawiki_selenium gem has code for login and
>    some shared steps but I wasn't clear with the mediawiki_api.Also I couldn't
>    locate anything related to this on github.
>
>
>
Take a look at
https://www.mediawiki.org/wiki/Browser_testing/shared_features#Create_page_at_run_time_via_API


Code is at https://github.com/wikimedia/mediawiki-ruby-api
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20140520/db9a95be/attachment.html>


More information about the QA mailing list