Skip to content

Commit 572316b

Browse files
committed
e2e: minor adjustments
1 parent d09f2eb commit 572316b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/appium/tests/profile/test_profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_profile_back_up_seed_phrase_validation(self):
4343
self.errors.append(
4444
self.profile,
4545
"Expected messages are not shown for the second attempt with incorrect recovery phrase word")
46-
self.profile.button_one.find_elements()[1].click()
46+
self.profile.button_one.click()
4747
if not self.profile.recovery_phrase_table.is_element_displayed():
4848
self.errors.append(self.profile, "Recovery phrase is not shown after failed attempts to check it")
4949
self.errors.verify_no_errors() # the test fails if the recovery phrase is not shown on this step

test/appium/tests/wallet/test_collectibles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def test_wallet_send_collectible(self):
156156
@marks.testrail_id(741841)
157157
def test_wallet_collectible_send_from_expanded_info_view(self):
158158
self.wallet_view.collectibles_tab.click()
159-
self.wallet_view.get_collectible_element('Glitch Punks').wait_for_element().click()
159+
self.wallet_view.get_collectible_element('Glitch Punks').scroll_and_click()
160160
self.wallet_view.send_from_collectible_info_button.click()
161161
self.wallet_view.address_text_input.send_keys(self.receiver['wallet_address'])
162162
self.wallet_view.continue_button.click()

test/appium/views/profile_view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def backup_recovery_phrase(self):
245245
self.button_one.click()
246246
self.fill_recovery_phrase_checking_words(recovery_phrase)
247247
self.checkbox_button.click()
248-
self.button_one.find_elements()[-1].click()
248+
self.button_one.click()
249249
return ' '.join(recovery_phrase.values())
250250

251251
def edit_profile_picture(self, image_index: int, update_by="Gallery"):

0 commit comments

Comments
 (0)