https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

       Web browser: ---
            Bug ID: 56057
           Summary: Tests should not rely on the existence of specific
                    pages (be wiki agnostic)
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Quality Assurance
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: jrob...@wikimedia.org
                CC: cmcma...@wikimedia.org, zfili...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

On MobileFrontend there is a newly added test that expects the Barack Obama
article to be setup in a certain way.

It fails on mine as my Barack Obama doesn't have an external links directory.
Ideally I would like to see QA tests setup pages e.g. QA_TestPage1,
QA_TestPage2 (or maybe a QA namespace might make sense here) for the purpose of
the test or at least be customisable to point to different pages..

Feature: Validate External Links

  Scenario: External Links resolve                       #
features/external_links.feature:3
    Given I am on the Barack_Obama article               #
features/step_definitions/external_links_steps.rb:1
    When I expand External Links Section                 #
features/step_definitions/external_links_steps.rb:5
      timed out after 5 seconds, waiting for {:id=>"External_links",
:tag_name=>"span"} to become present (Watir::Wait::TimeoutError)
      ./features/step_definitions/external_links_steps.rb:6:in `/^I expand
External Links Section$/'
      features/external_links.feature:5:in `When I expand External Links
Section'
    And I click on the White House official website link #
features/step_definitions/external_links_steps.rb:9
    Then I receive White House official website page     #
features/step_definitions/external_links_steps.rb:13

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to