BIT-479: Fix minor New Send bugs (#236)

This commit is contained in:
David Perez
2023-11-10 15:02:36 -06:00
committed by GitHub
parent 830112c070
commit ba4401cee9
4 changed files with 83 additions and 10 deletions

View File

@@ -175,7 +175,10 @@ class NewSendScreenTest : BaseComposeTest() {
@Test
fun `options sections should start hidden and show after options clicked`() {
composeTestRule
.onNodeWithText("Deletion date")
.onNodeWithContentDescription("Deletion date", substring = true)
.assertDoesNotExist()
composeTestRule
.onNodeWithContentDescription("Expiration date", substring = true)
.assertDoesNotExist()
composeTestRule
.onNodeWithText("Maximum access count")
@@ -197,7 +200,10 @@ class NewSendScreenTest : BaseComposeTest() {
.performScrollTo()
.performClick()
composeTestRule
.onNodeWithText("Deletion date", useUnmergedTree = true)
.onNodeWithContentDescription("Deletion date", substring = true)
.assertExists()
composeTestRule
.onNodeWithContentDescription("Expiration date", substring = true)
.assertExists()
composeTestRule
.onNodeWithText("Maximum access count")