Skip to content

Commit

Permalink
Open exclusions tab in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMitchL committed Feb 6, 2025
1 parent 66cfefa commit d950794
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Main.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,12 @@ it('seeds with example data when clicking the fill with example data button and

expect(within(peopleTabpanel).queryAllByRole('listitem')).toHaveLength(14);

await userEvent.click(screen.getByRole('tab', { name: /exclusions/i }));
const exclusionsTabpanel = screen.getByRole('tabpanel', {
name: 'Exclusions',
});
expect(within(exclusionsTabpanel).queryAllByRole('listitem')).toHaveLength(4);

expect(
screen.queryByRole('button', { name: /fill with example data/i }),
).toBeDisabled();
Expand Down

0 comments on commit d950794

Please sign in to comment.