Skip to content

Commit 470cf46

Browse files
Merge pull request #4148 from ProjectMirador/fix-annotation-tests
Fix annotation test, account for changes in manifest used as test fixture
2 parents 575bec4 + 57a7792 commit 470cf46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__tests__/integration/mirador/tests/annotations.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ describe('Annotations in Mirador', () => {
4242

4343
expect(await screen.findByRole('heading', { name: 'Annotations' })).toBeInTheDocument();
4444

45-
expect(await screen.findByText('Showing 5 annotations')).toBeInTheDocument();
45+
expect(await screen.findByText('Showing 6 annotations')).toBeInTheDocument();
4646

4747
const annotationPanel = await screen.findByRole('complementary', { name: /annotations/i });
4848
expect(annotationPanel).toBeInTheDocument();
4949

5050
const listItems = await within(annotationPanel).findAllByRole('menuitem');
51-
expect(listItems).toHaveLength(5);
51+
expect(listItems).toHaveLength(6);
5252
});
5353
});

0 commit comments

Comments
 (0)