[QA] Parse a table ?
Željko Filipin
zfilipin at wikimedia.org
Thu Jun 27 14:23:59 UTC 2013
Hi Karima,
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.
Željko
--
1: https://www.mediawiki.org/wiki/Meetings/2013-06-27
On Thu, Jun 27, 2013 at 7:24 AM, Karima Rafes <karima.rafes at gmail.com>wrote:
> Hi
>
> 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 ?
>
> I describe a little example there :
>
> http://www.mediawiki.org/wiki/Quality_Assurance/Browser_testing/Test_backlog#Table
>
> And my class is :
> <pre>
> class PageResult
> include PageObject
> include URL
> table(:tableResult, class: 'wikitable')
> end
> </pre>
>
> And the steps :
> <pre>
> When(/^I enter article table :$/) do |tableWikitext|
> on(EditPage).article_text = tableWikitext
> end
> Then(/^table should be there:$/) do |table|
> # table is a Cucumber::Ast::Table
> tableResult = on(PageResult).tableResult
> #DRAGON IS THERE ? probably with http://nokogiri.org
> # tableResult ??DIFF?? table
> end
> </pre>
>
> Can you implement this rules ? It will be a good example for newbies.
>
> Thanks
> karima
>
>
> _______________________________________________
> QA mailing list
> QA at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/qa
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20130627/c9c1d037/attachment.html>
More information about the QA
mailing list