mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-19 18:18:38 +00:00
chore: fixes of fails from nightly run (seed phrase + group chat)
This commit is contained in:
parent
d339629d59
commit
774916db18
@ -192,7 +192,7 @@ class AddNewAccountPopup(BasePopup):
|
|||||||
self._seed_phrase_12_words_button = Button(names.mainWallet_AddEditAccountPopup_12WordsButton)
|
self._seed_phrase_12_words_button = Button(names.mainWallet_AddEditAccountPopup_12WordsButton)
|
||||||
self._seed_phrase_18_words_button = Button(names.mainWallet_AddEditAccountPopup_18WordsButton)
|
self._seed_phrase_18_words_button = Button(names.mainWallet_AddEditAccountPopup_18WordsButton)
|
||||||
self._seed_phrase_24_words_button = Button(names.mainWallet_AddEditAccountPopup_24WordsButton)
|
self._seed_phrase_24_words_button = Button(names.mainWallet_AddEditAccountPopup_24WordsButton)
|
||||||
self._seed_phrase_word_text_edit = TextEdit(names.mainWallet_AddEditAccountPopup_SPWord)
|
self._seed_phrase_word_text_edit = TextEdit(names.mainWindow_statusSeedPhraseInputField_TextEdit)
|
||||||
self._seed_phrase_phrase_key_name_text_edit = TextEdit(
|
self._seed_phrase_phrase_key_name_text_edit = TextEdit(
|
||||||
names.mainWallet_AddEditAccountPopup_ImportedSeedPhraseKeyName)
|
names.mainWallet_AddEditAccountPopup_ImportedSeedPhraseKeyName)
|
||||||
|
|
||||||
@ -216,7 +216,7 @@ class AddNewAccountPopup(BasePopup):
|
|||||||
else:
|
else:
|
||||||
raise RuntimeError("Wrong amount of seed words", len(seed_phrase_words))
|
raise RuntimeError("Wrong amount of seed words", len(seed_phrase_words))
|
||||||
for count, word in enumerate(seed_phrase_words, start=1):
|
for count, word in enumerate(seed_phrase_words, start=1):
|
||||||
self._seed_phrase_word_text_edit.real_name['objectName'] = f'statusSeedPhraseInputField{count}'
|
self._seed_phrase_word_text_edit.real_name['objectName'] = f'enterSeedPhraseInputField{count}'
|
||||||
self._seed_phrase_word_text_edit.text = word
|
self._seed_phrase_word_text_edit.text = word
|
||||||
seed_phrase_name = ''.join([word[0] for word in seed_phrase_words[:10]])
|
seed_phrase_name = ''.join([word[0] for word in seed_phrase_words[:10]])
|
||||||
self._seed_phrase_phrase_key_name_text_edit.text = seed_phrase_name
|
self._seed_phrase_phrase_key_name_text_edit.text = seed_phrase_name
|
||||||
|
@ -299,7 +299,6 @@ mainWallet_AddEditAccountPopup_RevealSeedPhraseButton = {"container": mainWallet
|
|||||||
mainWallet_AddEditAccountPopup_SeedPhraseWordAtIndex_Placeholder = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "SeedPhraseWordAtIndex-%WORD-INDEX%", "type": "StatusSeedPhraseInput", "visible": True}
|
mainWallet_AddEditAccountPopup_SeedPhraseWordAtIndex_Placeholder = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "SeedPhraseWordAtIndex-%WORD-INDEX%", "type": "StatusSeedPhraseInput", "visible": True}
|
||||||
mainWallet_AddEditAccountPopup_EnterSeedPhraseWordComponent = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-EnterSeedPhraseWord", "type": "StatusInput", "visible": True}
|
mainWallet_AddEditAccountPopup_EnterSeedPhraseWordComponent = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-EnterSeedPhraseWord", "type": "StatusInput", "visible": True}
|
||||||
mainWallet_AddEditAccountPopup_EnterSeedPhraseWord = {"container": mainWallet_AddEditAccountPopup_EnterSeedPhraseWordComponent, "type": "TextEdit", "unnamed": 1, "visible": True}
|
mainWallet_AddEditAccountPopup_EnterSeedPhraseWord = {"container": mainWallet_AddEditAccountPopup_EnterSeedPhraseWordComponent, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||||
mainWallet_AddEditAccountPopup_SPWord = {"container": mainWallet_AddEditAccountPopup_Content, "type": "TextEdit", "objectName": RegularExpression("statusSeedPhraseInputField*")}
|
|
||||||
mainWallet_AddEditAccountPopup_12WordsButton = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "12SeedButton", "type": "StatusSwitchTabButton"}
|
mainWallet_AddEditAccountPopup_12WordsButton = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "12SeedButton", "type": "StatusSwitchTabButton"}
|
||||||
mainWallet_AddEditAccountPopup_18WordsButton = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "18SeedButton", "type": "StatusSwitchTabButton"}
|
mainWallet_AddEditAccountPopup_18WordsButton = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "18SeedButton", "type": "StatusSwitchTabButton"}
|
||||||
mainWallet_AddEditAccountPopup_24WordsButton = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "24SeedButton", "type": "StatusSwitchTabButton"}
|
mainWallet_AddEditAccountPopup_24WordsButton = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "24SeedButton", "type": "StatusSwitchTabButton"}
|
||||||
@ -861,9 +860,8 @@ switchTabBar_18_words_Button = {"container": mainWindow_SeedPhraseInputView, "ob
|
|||||||
"type": "StatusSwitchTabButton"}
|
"type": "StatusSwitchTabButton"}
|
||||||
switchTabBar_24_words_Button = {"container": mainWindow_SeedPhraseInputView, "objectName": "24SeedButton",
|
switchTabBar_24_words_Button = {"container": mainWindow_SeedPhraseInputView, "objectName": "24SeedButton",
|
||||||
"type": "StatusSwitchTabButton"}
|
"type": "StatusSwitchTabButton"}
|
||||||
mainWindow_statusSeedPhraseInputField_TextEdit = {"container": mainWindow_SeedPhraseInputView,
|
mainWindow_statusSeedPhraseInputField_TextEdit = {"container": mainWindow_StatusWindow, "objectName": "enterSeedPhraseInputField", "type": "TextEdit", "visible": True}
|
||||||
"objectName": "statusSeedPhraseInputField", "type": "TextEdit",
|
|
||||||
"visible": True}
|
|
||||||
mainWindow_Import_StatusButton = {"checkable": False, "container": mainWindow_SeedPhraseInputView,
|
mainWindow_Import_StatusButton = {"checkable": False, "container": mainWindow_SeedPhraseInputView,
|
||||||
"objectName": "seedPhraseViewSubmitButton", "text": "Import", "type": "StatusButton",
|
"objectName": "seedPhraseViewSubmitButton", "text": "Import", "type": "StatusButton",
|
||||||
"visible": True}
|
"visible": True}
|
||||||
|
@ -90,6 +90,7 @@ class ToolBar(QObject):
|
|||||||
for child in walk_children(item):
|
for child in walk_children(item):
|
||||||
if getattr(child, 'objectName', '') == 'close-icon':
|
if getattr(child, 'objectName', '') == 'close-icon':
|
||||||
driver.mouseClick(child)
|
driver.mouseClick(child)
|
||||||
|
break
|
||||||
|
|
||||||
|
|
||||||
class Message:
|
class Message:
|
||||||
|
@ -226,7 +226,7 @@ class SeedPhraseInputView(OnboardingView):
|
|||||||
raise RuntimeError("Wrong amount of seed words", len(seed_phrase))
|
raise RuntimeError("Wrong amount of seed words", len(seed_phrase))
|
||||||
|
|
||||||
for index, word in enumerate(seed_phrase, start=1):
|
for index, word in enumerate(seed_phrase, start=1):
|
||||||
self._seed_phrase_input_text_edit.real_name['objectName'] = f'statusSeedPhraseInputField{index}'
|
self._seed_phrase_input_text_edit.real_name['objectName'] = f'enterSeedPhraseInputField{index}'
|
||||||
if autocomplete:
|
if autocomplete:
|
||||||
word_to_put = word[:-1]
|
word_to_put = word[:-1]
|
||||||
self._seed_phrase_input_text_edit.text = word_to_put
|
self._seed_phrase_input_text_edit.text = word_to_put
|
||||||
|
@ -17,7 +17,7 @@ pytestmark = marks
|
|||||||
|
|
||||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703014', 'Create a group and send messages')
|
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703014', 'Create a group and send messages')
|
||||||
@pytest.mark.case(703014)
|
@pytest.mark.case(703014)
|
||||||
@pytest.mark.timeout(timeout=310)
|
@pytest.mark.timeout(timeout=315)
|
||||||
@pytest.mark.parametrize('user_data_one, user_data_two, user_data_three', [
|
@pytest.mark.parametrize('user_data_one, user_data_two, user_data_three', [
|
||||||
(configs.testpath.TEST_USER_DATA / 'user_account_one', configs.testpath.TEST_USER_DATA / 'user_account_two',
|
(configs.testpath.TEST_USER_DATA / 'user_account_one', configs.testpath.TEST_USER_DATA / 'user_account_two',
|
||||||
configs.testpath.TEST_USER_DATA / 'user_account_two')
|
configs.testpath.TEST_USER_DATA / 'user_account_two')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user