From d86f971be9bee1008233ec34ca3f4384f42038fa Mon Sep 17 00:00:00 2001 From: Alexey Alter-Pesotskiy Date: Fri, 8 Mar 2024 14:50:02 +0000 Subject: [PATCH] Improve things in the channel list --- .../Tests/Performance/ChannelListScrollTime.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/StreamChatSwiftUITestsAppTests/Tests/Performance/ChannelListScrollTime.swift b/StreamChatSwiftUITestsAppTests/Tests/Performance/ChannelListScrollTime.swift index bbdbf101..974bedcd 100644 --- a/StreamChatSwiftUITestsAppTests/Tests/Performance/ChannelListScrollTime.swift +++ b/StreamChatSwiftUITestsAppTests/Tests/Performance/ChannelListScrollTime.swift @@ -15,7 +15,11 @@ class ChannelListScrollTime: StreamTestCase { func testChannelListScrollTime() { WHEN("user opens the channel list") { backendRobot.generateChannels(count: 100, messagesCount: 1) - userRobot.login().waitForChannelListToLoad() + userRobot + .login() + .waitForChannelListToLoad() + .scrollChannelListDown() // to load the channels + .scrollChannelListUp() } THEN("user scrolls the channel list") { let measureOptions = XCTMeasureOptions()