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

       Web browser: ---
            Bug ID: 55873
           Summary: Create Page#important_part_of_url
           Product: Wikimedia
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Quality Assurance
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: zfili...@wikimedia.org
                CC: cmcma...@wikimedia.org, zfili...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

On several places in step code we have something like this[1]:

  @browser.url.should match /Special:UploadWizard/

We should create a method like Page#important_part_of_url (but we probably need
a better name) that would return "Special:UploadWizard"[2].

1:
https://github.com/wikimedia/qa-browsertests/blob/master/features/step_definitions/upload_wizard_steps.rb#L82
2:
https://github.com/wikimedia/qa-browsertests/blob/master/features/support/pages/upload_wizard_page.rb#L6

-- 
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