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

This commit is contained in:
joshua-livefront
2024-06-20 17:08:07 +01:00
committed by Álison Fernandes
parent b914f52d0f
commit dfc653b72e
2 changed files with 3 additions and 3 deletions
@@ -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))