chore: change Squish version and disable flaky tests (#359)

* chore: use newer squish

* chore: test tests with squish 7.2.1
This commit is contained in:
Anastasiya 2023-12-01 22:04:11 +03:00 committed by GitHub
parent 255f88fbb0
commit eb45281f2d
4 changed files with 6 additions and 5 deletions

View File

@ -68,7 +68,7 @@ pipeline {
environment { environment {
QT_QPA_PLATFORMTHEME = 'qt5ct' QT_QPA_PLATFORMTHEME = 'qt5ct'
SQUISH_DIR = '/opt/squish-runner-7.1-20230222-1555' SQUISH_DIR = '/opt/squish-runner-7.2.1'
PYTHONPATH = "${SQUISH_DIR}/lib:${SQUISH_DIR}/lib/python:${PYTHONPATH}" PYTHONPATH = "${SQUISH_DIR}/lib:${SQUISH_DIR}/lib/python:${PYTHONPATH}"
LD_LIBRARY_PATH = "${SQUISH_DIR}/lib:${SQUISH_DIR}/python3/lib:${LD_LIBRARY_PATH}" LD_LIBRARY_PATH = "${SQUISH_DIR}/lib:${SQUISH_DIR}/python3/lib:${LD_LIBRARY_PATH}"

View File

@ -16,7 +16,7 @@ from scripts.tools import image
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703084', 'Create community') @allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703084', 'Create community')
@pytest.mark.case(703084) @pytest.mark.case(703084)
@pytest.mark.skip(reason="https://github.com/status-im/desktop-qa-automation/issues/167") #@pytest.mark.skip(reason="https://github.com/status-im/desktop-qa-automation/issues/167")
@pytest.mark.parametrize('params', [constants.community_params]) @pytest.mark.parametrize('params', [constants.community_params])
def test_create_community(user_account, main_screen: MainWindow, params): def test_create_community(user_account, main_screen: MainWindow, params):
with step('Create community'): with step('Create community'):
@ -199,7 +199,7 @@ def test_edit_community_channel(main_screen, channel_name, channel_description,
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703051', 'Delete community channel') @allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703051', 'Delete community channel')
@pytest.mark.case(703051) @pytest.mark.case(703051)
@pytest.mark.skip(reason="https://github.com/status-im/desktop-qa-automation/issues/167") #@pytest.mark.skip(reason="https://github.com/status-im/desktop-qa-automation/issues/167")
def test_delete_community_channel(main_screen): def test_delete_community_channel(main_screen):
main_screen.create_community(constants.community_params) main_screen.create_community(constants.community_params)

View File

@ -13,6 +13,7 @@ from gui.main_window import MainWindow
@pytest.mark.parametrize('user_account, user_account_changed_password', @pytest.mark.parametrize('user_account, user_account_changed_password',
[pytest.param(constants.user.user_account_one, [pytest.param(constants.user.user_account_one,
constants.user.user_account_one_changed_password)]) constants.user.user_account_one_changed_password)])
@pytest.mark.skip(reason="unstable")
def test_change_password_and_login(aut: AUT, main_screen: MainWindow, user_account, user_account_changed_password): def test_change_password_and_login(aut: AUT, main_screen: MainWindow, user_account, user_account_changed_password):
with step('Open profile settings and change password'): with step('Open profile settings and change password'):
main_screen.left_panel.open_settings().left_panel.open_profile_settings().open_change_password_popup().change_password( main_screen.left_panel.open_settings().left_panel.open_profile_settings().open_change_password_popup().change_password(

View File

@ -21,8 +21,8 @@ from gui.main_window import MainWindow
pytest.param('Ethereum (Ledger Live/KeepKey)', '20', 'Ethereum Ledger Live', '#7140fd', 'sunglasses', '1f60e'), pytest.param('Ethereum (Ledger Live/KeepKey)', '20', 'Ethereum Ledger Live', '#7140fd', 'sunglasses', '1f60e'),
pytest.param('N/A', '95', 'Custom path', '#216266', 'sunglasses', '1f60e') pytest.param('N/A', '95', 'Custom path', '#216266', 'sunglasses', '1f60e')
]) ])
#@pytest.mark.skip(reason='https://github.com/status-im/desktop-qa-automation/issues/220') @pytest.mark.skip(reason='https://github.com/status-im/desktop-qa-automation/issues/220')
#@pytest.mark.skip(reason="https://github.com/status-im/status-desktop/issues/12914") @pytest.mark.skip(reason="https://github.com/status-im/status-desktop/issues/12914")
def test_plus_button_manage_generated_account_custom_derivation_path(main_screen: MainWindow, user_account, def test_plus_button_manage_generated_account_custom_derivation_path(main_screen: MainWindow, user_account,
derivation_path: str, generated_address_index: int, derivation_path: str, generated_address_index: int,
name: str, color: str, emoji: str, emoji_unicode: str): name: str, color: str, emoji: str, emoji_unicode: str):