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

--- Comment #2 from sp...@wikimedia.org ---
(In reply to Ċ½eljko Filipin from comment #1)
> S, do you need help implementing this?

Always :)

A simple test case for the utility of this is any browser test that logs in via
Special:UserLogin, e.g.
  cd extensions/Flow/tests/browser
  export MEDIAWIKI_PASSWORD=WRONGwrong
  bundle exec cucumber features/action_menu_permalink.feature

Current result is test fails with
    Given I am logged in  #
mediawiki_selenium-0.3.2/lib/mediawiki_selenium/step_definitions/login_steps.rb:12
      Connection refused - connect(2) for "127.0.0.1" port 9515
(Errno::ECONNREFUSED)

A more useful result is something like
    Given I am logged in  #
mediawiki_selenium-0.3.2/lib/mediawiki_selenium/step_definitions/login_steps.rb:12
      visible errorbox on page with contents "<strong>Login
error</strong><br>Incorrect password entered. Please try again."

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