Skip to content

Commit

Permalink
Fix test `present - with CallType RoomCall sets call as active, loads…
Browse files Browse the repository at this point in the history
… URL, runs WidgetDriver and notifies the other clients a call started` not passing.
  • Loading branch information
bmarty committed Oct 30, 2024
1 parent 5bc7b89 commit c087bec
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
package io.element.android.services.analytics.test

import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import im.vector.app.features.analytics.plan.MobileScreen
import io.element.android.services.analytics.api.ScreenTracker
import io.element.android.tests.testutils.lambda.lambdaError
Expand All @@ -17,6 +18,8 @@ class FakeScreenTracker(
) : ScreenTracker {
@Composable
override fun TrackScreen(screen: MobileScreen.ScreenName) {
trackScreenLambda(screen)
LaunchedEffect(Unit) {
trackScreenLambda(screen)
}
}
}

0 comments on commit c087bec

Please sign in to comment.