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

Željko Filipin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #12 from Željko Filipin <[email protected]> ---
Chris and I paired on reproducing the error yesterday. We have created this
simple Ruby script that visits new pages feed (a hundred times) and reports if
the error occurred or not.

require "watir-webdriver"

site = "http://en.wikipedia.beta.wmflabs.org/";
#site = "http://test2.wikipedia.org/";
url = "#{site}wiki/Special:NewPagesFeed"

puts url

(1..100).each do |i|
  browser = Watir::Browser.start url, :firefox
  Watir::Wait.until { browser.div(id: 'mwe-pt-list-view').text == "Please
wait..." } if browser.div(id: 'mwe-pt-list-view').text == "Please wait..."
  sleep 1 if browser.div(id: "mwe-pt-list-errors").text == ""
  puts "#{i}: #{browser.div(id: 'mwe-pt-list-errors').text}"
  browser.close
end

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