I believe I use a timed delay and then a should not be visible. Better would be 
to trigger on something that happens after your element would have become 
visible and wait for that to appear. 

Sent from my iPhone

> On Sep 27, 2013, at 9:55 PM, "Amir E. Aharoni" <[email protected]> 
> wrote:
> 
> 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‬
> _______________________________________________
> QA mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/qa
_______________________________________________
QA mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/qa

Reply via email to