vendredi 19 février 2016

Run Geb test if element is displayed

I would like to run Geb Test conditionally, when some element is displayed. Something like:

@IgnoreIf({element is not displayed})
    def "run element test"(){
       code for test here
    }

But IgnoreIf of Requires Spock expect just system and environment properties. Any idea?

Aucun commentaire:

Enregistrer un commentaire