Page MenuHomePhabricator

Improve documentation around running/writing (with lots of examples) browser tests
Closed, ResolvedPublic

Description

Goal

Doing

To do

  • subpages
  • Testing link at How to contribute page should point to a landing page about testing

Done

  • landing page: Selenium
    • Getting help section
    • Run tests section
  • moved everything that could be useful to Browser testing as a subpage
  • moved everything outdated to Quality Assurance as a subpage
  • both pages have list of subpages at the bottom
  • cleaned up categories:

Background

Event Timeline

ggellerman assigned this task to dduvall.
ggellerman raised the priority of this task from to Needs Triage.
ggellerman updated the task description. (Show Details)
ggellerman added subscribers: ggellerman, Spage, Aklapper.

The existing landing page for browser tests (from "How to contribute") is https://www.mediawiki.org/wiki/Quality_Assurance/Browser_testing. I think that should be the main target for a comprehensive guide.

To encourage browser tests from the start, build a working basic skeleton into the BoilerPlate extension, and in its tests/README link to the the mysterious Jenkins Job Builder-fu for Continuous integration/Browser tests.

@zeljkofilipin, I haven't had much time to work on this, with scap3 priorities and all. Would you be willing to lend a hand?

zeljkofilipin added a subscriber: dduvall.

Sure, taking over the task.

This is so outdated it is not even funny

Add {{Template:Outdated}} for the time being to make it clear to contributors?

@Aklapper: @JanZerebecki, @hashar and I talked about it recently, and decided to add {{TNT|Historical}} template.

Done so far:

Both pages have list of subpages at the bottom.

Cleaned up categories:

Change 309040 had a related patch set uploaded (by Zfilipin):
WIP Run tests from MediaWiki-Vagrant virtual machine headless

https://gerrit.wikimedia.org/r/309040

Argh. Selenium page was redirect to Test framework, and I have deleted it, but looks like the talk page still redirects there. I am not sure what to do. I could delete the talk page, that could delete the redirect, but I am not sure.

Change 309040 merged by jenkins-bot:
Run tests from MediaWiki-Vagrant virtual machine headlessly

https://gerrit.wikimedia.org/r/309040

Change 310280 had a related patch set uploaded (by Zfilipin):
WIP Testing mwext-mw-selenium Jenkins job

https://gerrit.wikimedia.org/r/310280

Change 310280 abandoned by Zfilipin:
WIP Testing mwext-mw-selenium Jenkins job

https://gerrit.wikimedia.org/r/310280