angrykoala / wendigo

A proper monster for front-end automated testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Additional methods: waitAndType() waitAndCheck()..

subiron opened this issue · comments

commented

When dealing with forms, especially wizards, a common use case is to wait for an element to be visible and later type text to it.
It would be great to have waitAndType() method (and probably other counterparts like tap check etc) similar to waitAndClick() without need to write helper functions.

Other alternatives to consider could be to have a setting in the already existing methods, or even using it a "wait" as the default behavior.

The following methods should be implemented and tested for this issue:

  • waitAndType(selector, text, timeout=500)
  • waitAndTap(selector, timeout=500)
  • waitAndCheck(selector, timeout=500)