<div dir="ltr">Hi Karima,<br><br>do you plan to participate at the next testing event[1]? We can pair during the event on implementing the test. If you did not plan to be there, there will probably be a similar event next week in a time that is better for Europeans.<br>
<br>Željko<br>--<br>1: <a href="https://www.mediawiki.org/wiki/Meetings/2013-06-27">https://www.mediawiki.org/wiki/Meetings/2013-06-27</a><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 27, 2013 at 7:24 AM, Karima Rafes <span dir="ltr"><<a href="mailto:karima.rafes@gmail.com" target="_blank">karima.rafes@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">
<div>Hi</div><div><br></div><div>It's a great job... Qa browser and Vagrant work and now, I try to do some tests for my extension but Ruby is not my friend for the moment. May be can you help me ?</div><div><br></div>
<div>I describe a little example there :</div><div><a href="http://www.mediawiki.org/wiki/Quality_Assurance/Browser_testing/Test_backlog#Table" target="_blank">http://www.mediawiki.org/wiki/Quality_Assurance/Browser_testing/Test_backlog#Table</a></div>
<div><br></div><div>And my class is : </div><div><pre></div><div>class PageResult</div><div> include PageObject</div><div> include URL</div><div> table(:tableResult, class: 'wikitable')</div><div>end </div>
<div></pre></div><div><br></div><div>And the steps :</div><div><pre></div><div>When(/^I enter article table :$/) do |tableWikitext| </div><div> on(EditPage).article_text = tableWikitext</div><div>end</div><div>
Then(/^table should be there:$/) do |table|</div><div> # table is a Cucumber::Ast::Table </div><div> tableResult = on(PageResult).tableResult</div><div> #DRAGON IS THERE ? probably with <a href="http://nokogiri.org/" target="_blank">http://nokogiri.org</a></div>
<div> # tableResult ??DIFF?? table</div><div>end</div><div></pre></div><div><br></div><div>Can you implement this rules ? It will be a good example for newbies.</div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>
karima</div>
<div><br></div></font></span></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>