Add emptyPollsText in the view model

This commit is contained in:
Alfonso Grillo
2023-01-24 09:47:50 +01:00
parent 562928507f
commit 22cca234be
3 changed files with 26 additions and 19 deletions
@@ -53,7 +53,7 @@ final class PollHistoryUITests: MockScreenTestCase {
func testPastPollHistoryIsEmpty() {
app.goToScreenWithIdentifier(MockPollHistoryScreenState.pastEmpty.title)
let title = app.navigationBars.firstMatch.identifier
let emptyText = app.staticTexts["PollHistory.emptyLoadMoreText"]
let emptyText = app.staticTexts["PollHistory.emptyText"]
let items = app.staticTexts["PollListItem.title"]
let selectedSegment = app.buttons[VectorL10n.pollHistoryPastSegmentTitle]
let winningOption = app.staticTexts["PollListData.winningOption"]