mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-12 23:35:32 +00:00
6e78281d99
Also - fix the other saved addresses that were relying on the order of buttons and fail after adding the favourite button - improve the rest of the tests - improve debug buttons - extend driver with helper functions Closes: #6898
17 lines
446 B
Python
17 lines
446 B
Python
# encoding: UTF-8
|
|
|
|
import squish
|
|
import object
|
|
|
|
def wait_for_object(objRealName: dict, timeoutMSec: int = 1000):
|
|
return squish.waitForObject(objRealName, timeoutMSec)
|
|
|
|
def type_text(obj, text: str):
|
|
squish.type(obj, text)
|
|
|
|
def find_object(objRealName: dict):
|
|
return squish.findObject(objRealName)
|
|
|
|
def wait_for_object_exists(objRealName: dict, timeoutMSec: int = 1000):
|
|
return squish.waitForObjectExists(objRealName, timeoutMSec)
|