From cc98461f4da6303f13cfb5da3683274352699b60 Mon Sep 17 00:00:00 2001 From: Lukasz Lancucki Date: Wed, 25 Mar 2026 14:16:44 +0000 Subject: [PATCH 1/3] test(helpdesk): add init files for e2e test modules --- tests/e2e/helpdesk/channels/__init__.py | 1 + tests/e2e/helpdesk/channels/messages/__init__.py | 1 + tests/e2e/helpdesk/parameter_groups/__init__.py | 1 + tests/e2e/helpdesk/parameter_groups/parameters/__init__.py | 1 + tests/e2e/helpdesk/queues/__init__.py | 1 + 5 files changed, 5 insertions(+) create mode 100644 tests/e2e/helpdesk/channels/__init__.py create mode 100644 tests/e2e/helpdesk/channels/messages/__init__.py create mode 100644 tests/e2e/helpdesk/parameter_groups/__init__.py create mode 100644 tests/e2e/helpdesk/parameter_groups/parameters/__init__.py create mode 100644 tests/e2e/helpdesk/queues/__init__.py diff --git a/tests/e2e/helpdesk/channels/__init__.py b/tests/e2e/helpdesk/channels/__init__.py new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/e2e/helpdesk/channels/__init__.py @@ -0,0 +1 @@ + diff --git a/tests/e2e/helpdesk/channels/messages/__init__.py b/tests/e2e/helpdesk/channels/messages/__init__.py new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/e2e/helpdesk/channels/messages/__init__.py @@ -0,0 +1 @@ + diff --git a/tests/e2e/helpdesk/parameter_groups/__init__.py b/tests/e2e/helpdesk/parameter_groups/__init__.py new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/e2e/helpdesk/parameter_groups/__init__.py @@ -0,0 +1 @@ + diff --git a/tests/e2e/helpdesk/parameter_groups/parameters/__init__.py b/tests/e2e/helpdesk/parameter_groups/parameters/__init__.py new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/e2e/helpdesk/parameter_groups/parameters/__init__.py @@ -0,0 +1 @@ + diff --git a/tests/e2e/helpdesk/queues/__init__.py b/tests/e2e/helpdesk/queues/__init__.py new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/e2e/helpdesk/queues/__init__.py @@ -0,0 +1 @@ + From 0447921acfb02010c55fa7c92724fe551989f4f0 Mon Sep 17 00:00:00 2001 From: Lukasz Lancucki Date: Wed, 25 Mar 2026 14:17:36 +0000 Subject: [PATCH 2/3] test(helpdesk): mark channel messages e2e tests as skipped pending MPT-19124 completion --- tests/e2e/helpdesk/channels/messages/test_async_messages.py | 1 + tests/e2e/helpdesk/channels/messages/test_sync_messages.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/e2e/helpdesk/channels/messages/test_async_messages.py b/tests/e2e/helpdesk/channels/messages/test_async_messages.py index 32670ce..2429147 100644 --- a/tests/e2e/helpdesk/channels/messages/test_async_messages.py +++ b/tests/e2e/helpdesk/channels/messages/test_async_messages.py @@ -12,6 +12,7 @@ async def test_list_channel_messages(async_channel_messages_service): assert len(result) > 0 +@pytest.mark.skip(reason="Unskip after MPT-19124 completed") async def test_list_channel_messages_not_found(async_mpt_ops, invalid_channel_id): with pytest.raises(MPTAPIError, match=r"404 Not Found"): await async_mpt_ops.helpdesk.channels.messages(invalid_channel_id).fetch_page(limit=1) diff --git a/tests/e2e/helpdesk/channels/messages/test_sync_messages.py b/tests/e2e/helpdesk/channels/messages/test_sync_messages.py index 011ee8f..a10c9c0 100644 --- a/tests/e2e/helpdesk/channels/messages/test_sync_messages.py +++ b/tests/e2e/helpdesk/channels/messages/test_sync_messages.py @@ -12,6 +12,7 @@ def test_list_channel_messages(channel_messages_service): assert len(result) > 0 +@pytest.mark.skip(reason="Unskip after MPT-19124 completed") def test_list_channel_messages_not_found(mpt_ops, invalid_channel_id): with pytest.raises(MPTAPIError, match=r"404 Not Found"): mpt_ops.helpdesk.channels.messages(invalid_channel_id).fetch_page(limit=1) From a732c0dc166a6976f925148805c94beeb68cf50e Mon Sep 17 00:00:00 2001 From: Lukasz Lancucki Date: Wed, 25 Mar 2026 15:46:00 +0000 Subject: [PATCH 3/3] test(helpdesk): unskip chat e2e tests --- tests/e2e/helpdesk/chats/test_async_chats.py | 3 --- tests/e2e/helpdesk/chats/test_sync_chats.py | 3 --- 2 files changed, 6 deletions(-) diff --git a/tests/e2e/helpdesk/chats/test_async_chats.py b/tests/e2e/helpdesk/chats/test_async_chats.py index 3199453..39b6e75 100644 --- a/tests/e2e/helpdesk/chats/test_async_chats.py +++ b/tests/e2e/helpdesk/chats/test_async_chats.py @@ -5,7 +5,6 @@ pytestmark = [pytest.mark.flaky] -@pytest.mark.skip(reason="Unskip after MPT-19124 completed") async def test_get_chat(async_mpt_ops, chat_id): service = async_mpt_ops.helpdesk.chats @@ -14,7 +13,6 @@ async def test_get_chat(async_mpt_ops, chat_id): assert result.id == chat_id -@pytest.mark.skip(reason="Unskip after MPT-19124 completed") async def test_list_chats(async_mpt_ops): service = async_mpt_ops.helpdesk.chats @@ -23,7 +21,6 @@ async def test_list_chats(async_mpt_ops): assert len(result) > 0 -@pytest.mark.skip(reason="Unskip after MPT-19124 completed") async def test_update_chat(async_mpt_ops, chat_id, short_uuid): service = async_mpt_ops.helpdesk.chats new_description = f"e2e update {short_uuid}" diff --git a/tests/e2e/helpdesk/chats/test_sync_chats.py b/tests/e2e/helpdesk/chats/test_sync_chats.py index 55928df..31c8c52 100644 --- a/tests/e2e/helpdesk/chats/test_sync_chats.py +++ b/tests/e2e/helpdesk/chats/test_sync_chats.py @@ -5,7 +5,6 @@ pytestmark = [pytest.mark.flaky] -@pytest.mark.skip(reason="Unskip after MPT-19124 completed") def test_get_chat(mpt_ops, chat_id): service = mpt_ops.helpdesk.chats @@ -14,7 +13,6 @@ def test_get_chat(mpt_ops, chat_id): assert result.id == chat_id -@pytest.mark.skip(reason="Unskip after MPT-19124 completed") def test_list_chats(mpt_ops): service = mpt_ops.helpdesk.chats @@ -23,7 +21,6 @@ def test_list_chats(mpt_ops): assert len(result) > 0 -@pytest.mark.skip(reason="Unskip after MPT-19124 completed") def test_update_chat(mpt_ops, chat_id, short_uuid): service = mpt_ops.helpdesk.chats new_description = f"e2e update {short_uuid}"