Stefan 6e78281d99 test(FavouriteSavedAddresses/Wallet): test toggle favourite for saved addresses
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
2022-09-12 16:00:31 +02:00

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)