From 00eb6fe44fb4f2e0f3edf11bee2c2147ef4c8ec3 Mon Sep 17 00:00:00 2001 From: Alexey Alter-Pesotskiy Date: Fri, 8 Nov 2024 16:02:48 +0000 Subject: [PATCH] Resolve linting issues --- .../android/compose/robots/UserRobotChannelListAsserts.kt | 3 +-- .../api/stream-chat-android-e2e-test.api | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/stream-chat-android-compose-sample/src/androidTestE2eDebug/kotlin/io/getstream/chat/android/compose/robots/UserRobotChannelListAsserts.kt b/stream-chat-android-compose-sample/src/androidTestE2eDebug/kotlin/io/getstream/chat/android/compose/robots/UserRobotChannelListAsserts.kt index cc5c7a1fb41..4681eaf99b2 100644 --- a/stream-chat-android-compose-sample/src/androidTestE2eDebug/kotlin/io/getstream/chat/android/compose/robots/UserRobotChannelListAsserts.kt +++ b/stream-chat-android-compose-sample/src/androidTestE2eDebug/kotlin/io/getstream/chat/android/compose/robots/UserRobotChannelListAsserts.kt @@ -18,7 +18,6 @@ package io.getstream.chat.android.compose.robots import io.getstream.chat.android.compose.pages.ChannelListPage.ChannelList.Channel import io.getstream.chat.android.compose.uiautomator.exists -import io.getstream.chat.android.compose.uiautomator.findObject import io.getstream.chat.android.compose.uiautomator.wait import io.getstream.chat.android.compose.uiautomator.waitToAppear import org.junit.Assert.assertEquals @@ -37,7 +36,7 @@ fun UserRobot.assertMessageInChannelPreview(text: String, fromCurrentUser: Boole return this } -fun UserRobot.assertMessageDeliveryStatus(shouldBeVisible: Boolean, shouldBeRead: Boolean = false) : UserRobot { +fun UserRobot.assertMessageDeliveryStatus(shouldBeVisible: Boolean, shouldBeRead: Boolean = false): UserRobot { if (shouldBeVisible) { val readStatus = if (shouldBeRead) Channel.readStatusIsRead else Channel.readStatusIsSent assertTrue(readStatus.wait().exists()) diff --git a/stream-chat-android-e2e-test/api/stream-chat-android-e2e-test.api b/stream-chat-android-e2e-test/api/stream-chat-android-e2e-test.api index 822a8617120..44ccc7fb7a7 100644 --- a/stream-chat-android-e2e-test/api/stream-chat-android-e2e-test.api +++ b/stream-chat-android-e2e-test/api/stream-chat-android-e2e-test.api @@ -64,8 +64,8 @@ public final class io/getstream/chat/android/compose/uiautomator/WaitKt { public static final fun waitToAppear (Landroidx/test/uiautomator/BySelector;J)Landroidx/test/uiautomator/UiObject2; public static synthetic fun waitToAppear$default (Landroidx/test/uiautomator/BySelector;IJILjava/lang/Object;)Landroidx/test/uiautomator/UiObject2; public static synthetic fun waitToAppear$default (Landroidx/test/uiautomator/BySelector;JILjava/lang/Object;)Landroidx/test/uiautomator/UiObject2; - public static final fun waitToDisappear (Landroidx/test/uiautomator/BySelector;J)V - public static synthetic fun waitToDisappear$default (Landroidx/test/uiautomator/BySelector;JILjava/lang/Object;)V + public static final fun waitToDisappear (Landroidx/test/uiautomator/BySelector;J)Landroidx/test/uiautomator/BySelector; + public static synthetic fun waitToDisappear$default (Landroidx/test/uiautomator/BySelector;JILjava/lang/Object;)Landroidx/test/uiautomator/BySelector; } public final class io/getstream/chat/android/e2e/test/mockserver/AttachmentType : java/lang/Enum {