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

            Bug ID: 67788
           Summary: test2wiki's User:Selenium_user page with redirect and
                    ShortUrl makes Flow browser tests fail
           Product: Wikimedia
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Quality Assurance
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

Flow tests on test2wiki have never worked.

I looked at one failure,
https://integration.wikimedia.org/ci/view/BrowserTests/job/browsertests-Flow-test2.wikipedia.org-linux-firefox-sauce/lastFailedBuild/#showFailuresLink

The test "Follow user links.User links takes me to the user page"
fails at
  features/post_links.feature:10:in `Then I am on my user page'
Message:
    Sauce Labs job URL:
http://saucelabs.com/jobs/6f26f29754884927a682b06035b5e77a
  expected: "User:Selenium user"
     got: "User:SeleniumBot\nhttps://test2.wikipedia.org/s/foc"; (using ==)


Sure enough https://test2.wikipedia.org/wiki/User:Selenium_user is a redirect,
and the https://www.mediawiki.org/wiki/Extension:ShortUrl is adding a short URL
to every page which messes up the test of the username in the title.

1. Can someone get rid of the redirect.
2. Does test2 need to run this extension?  If so, the test for user page title
should e.g. target 'h1 > span' so as not to pick up this additional short URL.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to