Skip to content
Snippets Groups Projects
Commit 70bee6f8 authored by inso's avatar inso
Browse files

Fix functional tests

parent c1bd0c66
Branches
Tags
No related merge requests found
......@@ -90,8 +90,8 @@ class TestIdentitiesTable(unittest.TestCase, QuamashTest):
# requests 1 to 3 are for getting certifiers-of and certified-by
# on john, + a lookup
QTest.keyClicks(identities_tab.edit_textsearch, "doe")
QTest.mouseClick(identities_tab.button_search, Qt.LeftButton)
QTest.keyClicks(identities_tab.ui.edit_textsearch, "doe")
QTest.mouseClick(identities_tab.ui.button_search, Qt.LeftButton)
await asyncio.sleep(2)
req = 8
......@@ -100,7 +100,7 @@ class TestIdentitiesTable(unittest.TestCase, QuamashTest):
'/blockchain/memberships/FADxcH5LmXGmGFgdixSes6nWnC4Vb4pRUBYT81zQRhjn')
req += 1
self.assertEqual(identities_tab.table_identities.model().rowCount(), 1)
self.assertEqual(identities_tab.ui.table_identities.model().rowCount(), 1)
await asyncio.sleep(2)
self.lp.call_soon(close_dialog)
......
......@@ -68,7 +68,7 @@ class TestWotTab(unittest.TestCase, QuamashTest):
await open_widget()
def close_dialog():
if wot_tab.wiget.isVisible():
if wot_tab.widget.isVisible():
wot_tab.widget.close()
future.set_result(True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment