On Mon, Sep 30, 2013 at 5:06 PM, Chris McMahon <[email protected]>wrote:
> You should never define a page element in a test step. I have worked with Amir and Niklas on this yesterday. After both of them wrote "I will never ever (ever!) violate page object pattern again." hundred times I have explained to them how to reference a child element using page-object gem[1][2]. Željko -- 1: https://gerrit.wikimedia.org/r/#/c/86348/3/tests/browser/features/step_definitions/signed_in_source_language_steps.rb 2: https://gerrit.wikimedia.org/r/#/c/86348/3/tests/browser/features/support/pages/main_page.rb
_______________________________________________ QA mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/qa
