Skip to content

Commit

Permalink
Update UI Tests
Browse files Browse the repository at this point in the history
NOJIRA
  • Loading branch information
nick0602 authored and MargeBot committed Oct 14, 2024
1 parent 90de56b commit 1de39bf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import androidx.compose.ui.test.assertTextEquals
import androidx.compose.ui.test.hasTestTag
import androidx.compose.ui.test.onNodeWithTag
import androidx.compose.ui.test.performScrollTo
import androidx.test.espresso.Espresso
import ch.protonmail.android.mailmessage.presentation.ui.AttachmentFooterTestTags
import ch.protonmail.android.test.ksp.annotations.AttachTo
import ch.protonmail.android.test.ksp.annotations.VerifiesOuter
Expand Down Expand Up @@ -74,6 +75,7 @@ internal class MessageFooterAttachmentSection : ComposeSectionRobot() {
}

private fun scrollTo() {
Espresso.closeSoftKeyboard()
rootItem.awaitDisplayed().performScrollTo()
}

Expand Down

0 comments on commit 1de39bf

Please sign in to comment.