[QA] checking that an element does not appear

Amir E. Aharoni amir.aharoni at mail.huji.ac.il
Sat Sep 28 01:55:23 UTC 2013


Hi,

I am trying to check that an element does not appear:
https://gerrit.wikimedia.org/r/#/c/86348/1/tests/browser/features/step_definitions/signed_in_source_language_steps.rb

I tried to do <element>.should_not be_visible, but apparently that is
invalid.

What is the most robust way to do it?

Thanks!

--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20130927/2daa0ea2/attachment.html>


More information about the QA mailing list