Skip to content

Commit

Permalink
refactor: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pyphilia committed Dec 10, 2024
1 parent 73272ba commit 1e2cdca
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cypress/e2e/allCollections/allCollections.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,13 @@ buildPublicAndPrivateEnvironments(PUBLISHED_ITEMS).forEach((environment) => {
`#${buildSearchFilterTagCategoryId(TagCategory.Discipline)}`,
).should(
'contain.text',
i18n.t(TagCategory.Discipline, { ns: namespaces.enums }),
i18n.t(TagCategory.Discipline, { count: 2, ns: namespaces.enums }),
);
cy.get(
`#${buildSearchFilterTagCategoryId(TagCategory.ResourceType)}`,
).should(
'contain.text',
i18n.t(TagCategory.ResourceType, { count: 2, ns: namespaces.enums }),
);
cy.get(`#${SEARCH_FILTER_LANG_ID}`).should(
'contain.text',
Expand Down

0 comments on commit 1e2cdca

Please sign in to comment.