Skip to content

Commit 623e009

Browse files
committed
chore(@e2e): remove test rail from project
1 parent 76e245c commit 623e009

File tree

56 files changed

+1
-335
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1
-335
lines changed

test/e2e/configs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from os import path
55
from scripts.utils.system_path import SystemPath
6-
from . import testpath, timeouts, testrail, squish, system
6+
from . import testpath, timeouts, squish, system
77
from .system import get_platform
88

99
LOG = logging.getLogger(__name__)

test/e2e/configs/testrail.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

test/e2e/conftest.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
'fixtures.aut',
2929
'fixtures.path',
3030
'fixtures.squish',
31-
'fixtures.testrail',
3231
]
3332

3433

@@ -55,7 +54,6 @@ def generate_allure_environment():
5554

5655
@pytest.fixture(scope='session', autouse=True)
5756
def setup_session_scope(
58-
# init_testrail_api, TODO: https://github.com/status-im/status-desktop/issues/18288
5957
generate_allure_environment,
6058
prepare_test_directory,
6159
start_squish_server
@@ -68,7 +66,6 @@ def setup_session_scope(
6866
def setup_function_scope(
6967
caplog,
7068
generate_test_data,
71-
# check_result, TODO: https://github.com/status-im/status-desktop/issues/18288
7269
application_logs,
7370
launch_keycard_controller
7471
):

test/e2e/fixtures/testrail.py

Lines changed: 0 additions & 187 deletions
This file was deleted.

test/e2e/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ numpy~=1.25.1
66
pytesseract==0.3.10
77
atomacos==3.3.0; platform_system == "Darwin"
88
allure-pytest==2.13.2
9-
testrail-api==1.12.0
109
pyperclip==1.8.2
1110
pytest-rerunfailures==13.0
1211
pytest-ignore-flaky==2.1.0

test/e2e/tests/communities/test_communities_categories.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
from helpers.chat_helper import skip_message_backup_popup_if_visible
1313

1414

15-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703272', 'Member role cannot add category')
16-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703273', 'Member role cannot edit category')
17-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703274', 'Member role cannot remove category')
1815
@pytest.mark.case(703272, 703273, 703274)
1916
@pytest.mark.communities
2017
@pytest.mark.parametrize('user_data', [configs.testpath.TEST_USER_DATA / 'member'])
@@ -47,7 +44,6 @@ def test_member_role_cannot_add_edit_or_delete_category(main_screen, user_data,
4744
assert not community_screen.left_panel.open_more_options().delete_category_item.is_visible
4845

4946

50-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/704622', 'Community category clicking')
5147
@pytest.mark.case(704622)
5248
@pytest.mark.parametrize('category_name, general_checkbox',
5349
[pytest.param('Category in general', True)])

test/e2e/tests/communities/test_communities_channels.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
from scripts.utils.parsers import remove_tags
1717

1818

19-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703049', 'Create community channel')
20-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703050', 'Edit community channel')
21-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703051', 'Delete community channel')
2219
@pytest.mark.case(703049, 703050, 703051)
2320
@pytest.mark.communities
2421
@pytest.mark.parametrize(
@@ -75,9 +72,6 @@ def test_create_edit_remove_community_channel(main_screen, channel_name, channel
7572
assert len(community_screen.left_panel.channels) == 0
7673

7774

78-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703269', 'Member role cannot add channels')
79-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703270', 'Member role cannot edit channels')
80-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703271', 'Member role cannot delete channels')
8175
@pytest.mark.case(703269, 703270, 703271)
8276
@pytest.mark.parametrize('user_data', [configs.testpath.TEST_USER_DATA / 'member'])
8377
@pytest.mark.parametrize('user_account', [constants.user.community_member])
@@ -111,8 +105,6 @@ def test_member_role_cannot_add_edit_and_delete_channels(main_screen: MainWindow
111105
f'Delete channel option is present when it should not'
112106

113107

114-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/edit/737079',
115-
'Member not holding permission cannot see channel (view-only permission)')
116108
@pytest.mark.case(737079)
117109
@pytest.mark.parametrize('user_data_one, user_data_two, asset, amount, channel_description', [
118110
(configs.testpath.TEST_USER_DATA / 'squisher', configs.testpath.TEST_USER_DATA / 'athletic', 'ETH', '10',
@@ -163,10 +155,6 @@ def test_member_cannot_see_hidden_channel(multiple_instances, user_data_one, use
163155
configs.timeouts.UI_LOAD_TIMEOUT_MSEC)
164156

165157

166-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/737070',
167-
'Owner can view and post in a non restricted channel')
168-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/737074',
169-
'Member can view and post in a non restricted channel')
170158
@pytest.mark.case(737070, 737074)
171159
@pytest.mark.parametrize('user_data_one, user_data_two, channel_name, channel_description', [
172160
(configs.testpath.TEST_USER_DATA / 'squisher', configs.testpath.TEST_USER_DATA / 'athletic', 'Channel_',

test/e2e/tests/communities/test_communities_kick_ban.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
from gui.main_window import MainWindow
1414

1515

16-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703252', 'Kick user')
17-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/736991', 'Owner can ban member')
1816
@pytest.mark.case(703252, 703252, 736991)
1917
@pytest.mark.communities
2018
def test_community_admin_ban_kick_member_and_delete_message(multiple_instances):

test/e2e/tests/communities/test_communities_limit_to_5_permissions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
from gui.main_window import MainWindow
1010

1111

12-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/739309',
13-
'Can create up to 5 member role permissions')
1412
@pytest.mark.case(739309)
1513
@pytest.mark.communities
1614
def test_add_5_member_role_permissions(main_screen: MainWindow):

test/e2e/tests/communities/test_communities_screens_overview.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@
99
from gui.main_window import MainWindow
1010

1111

12-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703198',
13-
'Manage community: Manage Permissions screen overview')
14-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703199',
15-
'Manage community: Manage Mint Tokens screen overview')
16-
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703200',
17-
'Manage community: Manage Airdrops screen overview')
1812
@pytest.mark.case(703198, 703199, 703200)
1913
def test_manage_community_screens_overview(main_screen: MainWindow):
2014
with step('Create community and select it'):

0 commit comments

Comments
 (0)