mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 22:06:25 +00:00
b9c569599d
- Created new `suite_wallet` where all related wallet tests will be migrated to. - `tst_wallet` has been moved to new `suite_wallet`. - `tst_transaction` has been moved to new `suite_wallet`. Tests inside `suite_wallet` still contain some broken tests. Closes #7627
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)
|