[QA] checking that an element does not appear

Željko Filipin zfilipin at wikimedia.org
Tue Oct 1 09:55:18 UTC 2013


On Mon, Sep 30, 2013 at 5:06 PM, Chris McMahon <cmcmahon at wikimedia.org>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20131001/5db84ded/attachment-0001.html>


More information about the QA mailing list