From 5255e332073f23ae3c7f71fac7551b63245b320f Mon Sep 17 00:00:00 2001 From: Nuno Vieira Date: Fri, 29 Sep 2023 11:42:02 +0100 Subject: [PATCH] Skip E2E Test for message read (for now) --- .../MessageDeliveryStatus_Tests.swift | 6 +- .../Fixtures/JSONs/http_channels.json | 60 +------------------ 2 files changed, 6 insertions(+), 60 deletions(-) diff --git a/StreamChatUITestsAppUITests/Tests/Message Delivery Status/MessageDeliveryStatus_Tests.swift b/StreamChatUITestsAppUITests/Tests/Message Delivery Status/MessageDeliveryStatus_Tests.swift index 61600d35e89..2472bf28101 100644 --- a/StreamChatUITestsAppUITests/Tests/Message Delivery Status/MessageDeliveryStatus_Tests.swift +++ b/StreamChatUITestsAppUITests/Tests/Message Delivery Status/MessageDeliveryStatus_Tests.swift @@ -259,7 +259,9 @@ extension MessageDeliveryStatus_Tests { } } - func test_doubleCheckmarkShown_whenMessageReadByParticipant_andPreviewedInThread() { + func test_doubleCheckmarkShown_whenMessageReadByParticipant_andPreviewedInThread() throws { + throw XCTSkip("https://github.com/GetStream/ios-issues-tracking/issues/491") + linkToScenario(withId: 150) GIVEN("user opens the channel") { @@ -267,7 +269,7 @@ extension MessageDeliveryStatus_Tests { .login() .openChannel() } - AND("user succesfully sends new message") { + AND("user successfully sends new message") { userRobot.sendMessage(message) } AND("user previews thread for read message: \(message)") { diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channels.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channels.json index e615b372ac6..14277a02e2b 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channels.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channels.json @@ -195,65 +195,9 @@ }, "messages": [], "pinned_messages": [], - "read": [ - { - "last_read": "2023-09-15T00:10:52.369149143Z", - "unread_messages": 0, - "user": { - "banned": false, - "birthland": "Serenno", - "created_at": "2020-12-07T11:37:39.487938Z", - "dashboard_ban_channel_cid": "messaging:55DE2AA9-4", - "extraData": {}, - "id": "count_dooku", - "image": "https://vignette.wikia.nocookie.net/starwars/images/b/b8/Dooku_Headshot.jpg", - "image_url": "https://vignette.wikia.nocookie.net/starwars/images/b/b8/Dooku_Headshot.jpg", - "last_active": "2023-09-11T17:54:45.457714Z", - "name": "Count Dooku", - "online": false, - "role": "user", - "updated_at": "2023-05-25T10:09:13.396749Z" - } - }, - { - "last_read": "2023-09-15T00:10:52.369149143Z", - "unread_messages": 0, - "user": { - "banned": false, - "birthland": "Corellia", - "created_at": "2020-12-07T11:37:34.230369Z", - "extraData": {}, - "id": "han_solo", - "image": "https://vignette.wikia.nocookie.net/starwars/images/e/e2/TFAHanSolo.png", - "image_url": "https://vignette.wikia.nocookie.net/starwars/images/e/e2/TFAHanSolo.png", - "last_active": "2023-09-14T21:23:33.441135248Z", - "name": "Han Solo", - "online": false, - "role": "user", - "updated_at": "2023-05-10T12:02:05.481359Z" - } - }, - { - "last_read": "2023-09-15T00:10:52.369149143Z", - "unread_messages": 0, - "user": { - "banned": false, - "birthland": "Tatooine", - "created_at": "2020-12-07T11:36:47.059906Z", - "dashboard_user": true, - "id": "luke_skywalker", - "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", - "image_url": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", - "last_active": "2023-09-15T00:10:51.888525869Z", - "name": "Luke Skywalker", - "online": true, - "role": "user", - "updated_at": "2023-09-07T18:02:30.989734Z" - } - } - ], + "read": [], "watcher_count": 1 } ], "duration": "435.20ms" -} \ No newline at end of file +}