Last modified: 2014-04-18 01:01:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62659, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60659 - Flow: create browser test for permalink
Flow: create browser test for permalink
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Chris McMahon
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-31 00:43 UTC by spage
Modified: 2014-04-18 01:01 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2014-01-31 00:43:27 UTC
From the Closing-the-barn-door-after-the-release-train-has-bolted department,
bug 60638 exposed we don't have a test for permalink.

It would be something like

  Scenario: Follow a permalink
    Given I am on Flow page
    When I click the Permalink icon of a post
    Then the browser should load the post's topic
      And the post should scroll into view
      And the post should have a highlight

A [[wp:SMOP]], right? :)
Comment 1 Chris McMahon 2014-02-07 19:18:04 UTC
About that barn door, we like to call those "regression tests" :-)

https://gerrit.wikimedia.org/r/#/c/112049/
https://gerrit.wikimedia.org/r/#/c/112049/

would be the best place to take up the conversation, but the Scenarios I think should look something like: 

Scenario: Actions menu Permalink
  Given I am on Flow page
  When I click Actions menu for the Topic
    And I click Permalink from the Actions menu
    And I add 3 comments to the Topic
    And I click Actions menu for the 3rd comment on the Topic
    And I click Permalink from the Actions menu
  Then the text of the 3rd comment on the Topic should be visible
    And the 3rd comment on the Topic should have a green bar on the left

Scenario: Actions menu History
  Given I am on Flow page
    And I add a Topic
    And I add 3 comments to a Topic
  When I click Actions menu for the Topic
    And I click History from the Actions menu
    And I click 3 comments were added
  Then The comment history should be visible
    And the 3rd comment should have a green bar on the left.  (Note: this does not work as expected as of 7 Feb: https://bugzilla.wikimedia.org/show_bug.cgi?id=61046)
Comment 2 spage 2014-04-18 01:01:52 UTC
Chris wrote tests/browser/features/action_menu_permalink.feature , so I'm declaring this fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links