<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 26, 2013 at 11:26 PM, S Page <span dir="ltr"><<a href="mailto:spage@wikimedia.org" target="_blank">spage@wikimedia.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div>The Flow extension's features/flow_logged_in.feature fails for me asserting "Then links to talk and contrib should be visible" after "When I hover over the author link". I know exactly where it's failing, but not why.<br>
</div></div></div></div></blockquote><div><br></div><div>Mostly because the locator for the author link changed, from "span(:author_link, class: 'flow-creator-simple')" to "span(:author_link, class: 'flow-creator')"</div>
<div><br></div><div>There still was a "span(:author_link, class: 'flow-creator-simple')" on the page though, the author to whom the user is replying, but hovering over that element does not (right now) trigger the display of Talk/contribs. </div>
<div><br></div><div>Fixed with <a href="https://gerrit.wikimedia.org/r/#/c/98000">https://gerrit.wikimedia.org/r/#/c/98000</a></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><div>Whenever a test fails and it's not simply due to a page element changed its name or text, I have little idea how to debug it. SInce the cycle time for a test requiring login is over a minute, it's painful to try line-by-line changes. I'm used to interactively debugging jQuery selectors in a browser console, what's the equivalent for browser tests?<br>
</div></div></div></blockquote><div><br></div><div>I really like Firebug, it's the only page inspector I know of that will let me search the HTML easily, and has a lot of other nifty features.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><div>
<br></div>* Is there a way to break into the Ruby debugger when running a cucumber test?<br></div><div>* Is there a flash() function to flicker the page element that I'm trying to select, or a dump() function?<br></div>
* Should I see a mouseover effect in Firefox WebDriver while I'm watching a test that calls some_element.fire_event('onmouseover') ?<br><div><br></div><div>Thanks for any suggestions or pointers.<br></div><div>
<br clear="all"><div><div>(Chris,<br>the Flow code changed to do a CSS animations on hover to fade in the the links, so I tried adding a sleep. The hover effect is on the parent element of the element that the test does a mouseover on, so I tried changing the mouseover element. Neither helped.)<span class=""><font color="#888888"><br>
<br>-- <br><div dir="ltr">=S Page Features engineer<br></div>
</font></span></div></div></div></div>
<br>_______________________________________________<br>
QA mailing list<br>
<a href="mailto:QA@lists.wikimedia.org">QA@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/qa" target="_blank">https://lists.wikimedia.org/mailman/listinfo/qa</a><br>
<br></blockquote></div><br></div></div>