BIT-534: fixing trash counter to always display one (#279)

This commit is contained in:
joshua-livefront
2023-11-27 15:25:33 -05:00
committed by GitHub
parent 833dfd501d
commit a59a2f5ddb
2 changed files with 3 additions and 3 deletions

View File

@@ -365,7 +365,7 @@ class VaultScreenTest : BaseComposeTest() {
composeTestRule
.onAllNodes(hasText(rowText))
.filterToOne(!hasClickAction())
.assertTextEquals(rowText, 0.toString())
.assertTextEquals(rowText, 1.toString())
// Item
composeTestRule
.onAllNodes(hasText(rowText))
@@ -386,7 +386,7 @@ class VaultScreenTest : BaseComposeTest() {
composeTestRule
.onAllNodes(hasText(rowText))
.filterToOne(!hasClickAction())
.assertTextEquals(rowText, trashCount.toString())
.assertTextEquals(rowText, 1.toString())
// Item
composeTestRule
.onAllNodes(hasText(rowText))