After talking to Chris, I updated
https://www.mediawiki.org/wiki/Quality_Assurance/Browser_testing/Writing_tests#Page_Objects

I notice some documentation puts the colon in front of the identifying
attribute with an arrow, but our page object files put the colon after the
identifying attribute with no arrow.

E.g. https://github.com/cheezy/page-object/wiki/Elements has

  button(:your_name, :id => 'an_id')

but our features/support/foo_page.rb files have e.g.

  h1(:first_heading, id: "firstHeading")

is this Ruby strangeness, or just supporting alternative syntaxes?

-- 
=S Page  Features engineer
_______________________________________________
QA mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/qa

Reply via email to