mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-24 14:28:34 +00:00
fixed testrail reports and e2e nightly
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
parent
d8235d9e17
commit
4f4f6cf29e
@ -6,7 +6,7 @@ import emoji
|
||||
import base64
|
||||
from os import environ
|
||||
from support.base_test_report import BaseTestReport
|
||||
|
||||
from sys import argv
|
||||
|
||||
class TestrailReport(BaseTestReport):
|
||||
|
||||
@ -87,6 +87,15 @@ class TestrailReport(BaseTestReport):
|
||||
test_cases['medium'] = 736
|
||||
test_cases['low'] = 737
|
||||
case_ids = list()
|
||||
for arg in argv:
|
||||
if "run_testrail_ids" in arg:
|
||||
key, value = arg.split('=')
|
||||
case_ids = value.split(',')
|
||||
if len(case_ids) == 0:
|
||||
if 'critical or high' in argv:
|
||||
for case in self.get_cases([test_cases['critical'], test_cases['high']]):
|
||||
case_ids.append(case['id'])
|
||||
else:
|
||||
for phase in test_cases:
|
||||
for case in self.get_cases([test_cases[phase]]):
|
||||
case_ids.append(case['id'])
|
||||
|
@ -998,8 +998,8 @@ class TestChatManagementMultipleDevice(MultipleDeviceTestCase):
|
||||
dapp_view = profile_2.ens_usernames_button.click()
|
||||
dapp_view.element_by_text('Get started').click()
|
||||
dapp_view.ens_name.set_value(ens_user_message_sender['ens'])
|
||||
dapp_view.check_ens_name.click()
|
||||
dapp_view.element_by_text('Ok, got it').click()
|
||||
dapp_view.check_ens_name.click_until_presence_of_element(dapp_view.find_element_by_translation_id("ens-got-it"))
|
||||
dapp_view.find_element_by_translation_id("ens-got-it").click()
|
||||
|
||||
device_1.just_fyi('Both devices joining the same public chat and send messages')
|
||||
chat_name = device_1.get_random_chat_name()
|
||||
|
@ -504,8 +504,8 @@ class TestGroupChatMultipleDevice(MultipleDeviceTestCase):
|
||||
device_1_chat.send_message_button.click()
|
||||
device_1_chat.chat_message_input.click()
|
||||
for chat in device_1_chat, device_2_chat, device_3_chat:
|
||||
if not chat.image_chat_item.is_element_displayed():
|
||||
self.errors.append('Image is not shown in chat after sending for sender')
|
||||
if not chat.image_chat_item.is_element_displayed(30):
|
||||
self.errors.append('Image is not shown in chat after sending for %s' % chat.driver.number)
|
||||
|
||||
device_1.just_fyi('Send audio message to group chat and verify it on all devices')
|
||||
device_1_chat.record_audio_message(message_length_in_seconds=3)
|
||||
|
@ -96,6 +96,7 @@ class TestTransactionWalletSingleDevice(SingleDeviceTestCase):
|
||||
|
||||
sign_in_view.just_fyi('Check that transaction is appeared in transaction history')
|
||||
wallet_view.wait_balance_is_changed('STT', initial_amount_STT)
|
||||
if not wallet_view.transaction_history_button.is_element_displayed():
|
||||
wallet_view.accounts_status_account.click()
|
||||
transactions_view = wallet_view.transaction_history_button.click()
|
||||
transactions_view.transactions_table.find_transaction(amount=sending_amount, asset='STT')
|
||||
|
@ -4,7 +4,6 @@ from views.sign_in_view import SignInView
|
||||
from datetime import datetime
|
||||
import time
|
||||
|
||||
|
||||
class TestPerformance(SingleDeviceTestCase):
|
||||
|
||||
def get_timestamps_by_event(self, *args):
|
||||
|
Loading…
x
Reference in New Issue
Block a user