<div dir="ltr"><br><div>The links.feature test is unique in that the browser running the test must have focus in order for the clickable link text generated from the link inspector to appear. When running this locally, if you start the test and then use some other browser window or application while the test is running, it will fail in exactly the way you describe. </div>
<div><br></div><div>-Chris </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 11, 2014 at 6:01 AM, jagori samajdar <span dir="ltr"><<a href="mailto:jagori79@gmail.com" target="_blank">jagori79@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>This is with respect to the issue which I had mailed earlier in links.feature file.</div>
<div><br></div><div>The problem seems to be quite erratic,at times it works and at times it fails.Maybe adding wait might help.</div>
<div><br></div><div>But,anyways it seems to be working now.So,kindly ignore this issue.</div><div><br></div><div>Thanks,</div><div>Jagori</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Jul 9, 2014 at 8:18 PM, jagori samajdar <span dir="ltr"><<a href="mailto:jagori79@gmail.com" target="_blank">jagori79@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>While trying to execute: links.feature in VisualEditor module,I am getting few errors.</div>
<div>The error appears to be on all the scenarios and is a timeout one.</div><div><br></div>
<div>Error is as below:</div><div><br></div><div><div><span>Then an external link appears in the diff view</span></div><div><span> # features/step_definitions/links_steps.rb:17</span></div>
<div><span> timed out after 10 seconds (Watir::Wait::TimeoutError)</span></div><div><span> ./features/step_definitions/links_steps.rb:19:in `block (2 levels) in <top</span></div>
<div><span> (required)>'</span></div><div><span> ./features/step_definitions/links_steps.rb:18:in `/^an external link appea</span></div><div>
<span>rs in the diff view$/'</span></div><div><span> features\links.feature:15:in `Then an external link appears in the diff vi</span></div><div>
<span>ew'</span></div><div><br></div><div><br></div><div><br></div><div><span>Failing Scenarios:</span></div>
<div><span>cucumber features\links.feature:10 # Scenario: Enter external link</span></div><div><span>cucumber features\links.feature:17 # Scenario: Enter internal link</span></div>
<div><br></div><div><span>3 scenarios (2 failed, 1 passed)</span></div><div><span>27 steps (2 failed, 25 passed)</span></div>
<div><span>2m4.538s</span></div><div><br></div></div><div>=================================================================</div><div><br></div><div>I have pasted the error for the external link part .For the internal link also its almost the same.</div>
<div><br></div><div>My analysis for the issue above : </div><div><br></div><div>For the code </div><div>Scenario: Enter external link</div><div> When I enter <a href="http://www.example.com" target="_blank">http://www.example.com</a> into link Content box</div>
<div> And I click < to close Link User Interface</div><div><br></div><div>I found that in the automated run, <b><a href="http://www.example.com" target="_blank">http://www.example.com</a></b> is not being captured which results in the subsequent timeout error.It works fine when I do the same manually.</div>
<div><br></div><div>I would be looking forward to any replies on this issue.</div><div>Kind Regards,</div><div>Jagori</div></div>
</blockquote></div><br></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>