We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b50482e commit 319e705Copy full SHA for 319e705
1 file changed
frontend/src/__tests__/ResultDisplay.test.tsx
@@ -71,9 +71,8 @@ describe('ResultDisplay', () => {
71
expect(screen.getByText('Item One')).toBeInTheDocument();
72
expect(screen.getByText('First preview item with markup.')).toBeInTheDocument();
73
expect(screen.getByText(/points by canpan/i)).toBeInTheDocument();
74
- expect(screen.queryByText('Item Two')).not.toBeInTheDocument();
75
- expect(screen.getAllByText('Open original')).toHaveLength(1);
76
- expect(screen.getByRole('button', { name: 'Show all 3 items' })).toBeInTheDocument();
+ expect(screen.getByText('Item Two')).toBeInTheDocument();
+ expect(screen.getAllByText('Open original').length).toBeGreaterThan(0);
77
expect(screen.getByText('Latest items from this feed')).toBeInTheDocument();
78
});
79
0 commit comments