display count before text in tabs

This commit is contained in:
simon lehericey 2021-04-26 17:15:28 +02:00 committed by Pierre de La Morinerie
parent f55c6ee371
commit 55b80df29d
3 changed files with 7 additions and 7 deletions

View file

@ -216,11 +216,11 @@ feature 'Instructing a dossier:', js: true do
def test_statut_bar(a_suivre: 0, suivi: 0, traite: 0, tous_les_dossiers: 0, archive: 0)
texts = [
"à suivre #{a_suivre}",
"suivi #{suivi}",
"traité #{traite}",
"tous les dossiers #{tous_les_dossiers}",
"archivé #{archive}"
"#{a_suivre} à suivre",
"#{suivi} suivi",
"#{traite} traité",
"#{tous_les_dossiers} au total",
"#{archive} archivé"
]
texts.each { |text| expect(page).to have_text(text) }