[QA] Fwd: suggestions for browser test debugging

S Page spage at wikimedia.org
Tue Aug 5 17:20:44 UTC 2014

On Wed, Jun 25, 2014 at 1:59 PM, Matthew Flaschen <mflaschen at wikimedia.org>

> On 06/24/2014 07:03 PM, S Page wrote:
>> 16:00 < superm401> chrismcmahon, do you know how I can test the CSS
>> selectors for Watir?
> I ended up testing this with pry-debugger.  It's not perfect, but it works.
pry-debugger doesn't work with Ruby 2.x, you need pry-byebug.

> I documented this at
> https://www.mediawiki.org/wiki/Quality_Assurance/Browser_testing/Writing_tests#Debugging
> .

That's now a redirect to the existing
I merged your instructions.

>  However, I'm sure there are tricks I don't know yet, so please expand if
> you can.

I can't figure out how to define a new foo_element and see if it matches

=S Page  Features engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20140805/48e98b77/attachment.html>

More information about the QA mailing list