~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/stories/question-workflow.txt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-07-02 14:32:38 UTC
  • mfrom: (13303.9.2 what-next-712259)
  • Revision ID: launchpad@pqm.canonical.com-20110702143238-kbt5000tr6vwv9ey
[r=benji][bug=712259] Removed "What next?" info from bug page and
        "Got a question of your own?" from Question page and replaced
        with appropriate links in sidebar portlets.

Show diffs side-by-side

added added

removed removed

Lines of Context:
458
458
    >>> print content.find(id='can-you-help-with-this-problem')
459
459
    None
460
460
 
461
 
    >>> print content.find(id='ask-your-own-question').h2.renderContents()
462
 
    Got a question of your own?
463
 
 
464
 
    >>> user_browser.getLink('ask your own question separately').click()
 
461
    >>> user_browser.getLink('Ask a question').click()
465
462
    >>> print user_browser.title
466
463
    Ask a question about...
467
464
 
468
 
The 'Got a question of your own?' section in not relevant to the
469
 
question owner, so Sample person does not see it.
470
 
 
471
 
    >>> owner_browser.open('http://launchpad.dev/firefox/+question/2')
472
 
    >>> content = find_tag_by_id(
473
 
    ...     owner_browser.contents, 'ask-your-own-question')
474
 
    >>> content is None
475
 
    True
476
 
 
477
465
Clean up the feature flag.
478
466
 
479
467
    >>> flags.cleanUp()