test(collections): hover the +N of a row that has a category beside its labels

This commit is contained in:
Maurice
2026-11-05 13:53:57 +01:00
parent 99cdcfcd09
commit 6ee540d5e4
@@ -69,7 +69,7 @@ describe('CollectionPlaceTags', () => {
it('FE-COMP-COLTAGS-004: the "+N" names the hidden labels in its tooltip', async () => {
layout();
render(<CollectionPlaceTags place={place(null)} labels={LABELS} />);
render(<CollectionPlaceTags place={place()} labels={LABELS} />);
fireEvent.mouseEnter(screen.getByText('+2'));
expect(await screen.findByRole('tooltip')).toHaveTextContent('Heritage, Pair with another stop');
});