Page MenuHomePhabricator

qunit and browser tests for Flow TOC
Open, MediumPublic

Description

Flow TOC is complex ([https://www.mediawiki.org/wiki/Flow/Table_of_Contents_spec |spec], may be out-of-date)

It would be nice to have qunit tests for edge cases, e.g.:

  • TOC doesn't re-request known topics
  • TOC can handle updated state from server (new topics, topics in list moderated, requested topic moderated)

Also browser tests (using Talk:Flow QA, which is usually big so test setup can have "Pending board has 50 topics") for:

  • fixed header shows current topic
  • opened TOC shows current topic in top line
  • clicking item in TOC goes to that topic
  • etc.

Event Timeline

Spage assigned this task to Mattflaschen-WMF.
Spage raised the priority of this task from to Medium.
Spage updated the task description. (Show Details)
Spage changed Security from none to None.
Spage subscribed.