Skip to content

Commit

Permalink
fixed failing test in leftdrawerorg
Browse files Browse the repository at this point in the history
  • Loading branch information
Doraemon012 committed Oct 5, 2024
1 parent b7c0eb2 commit f9cc50b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/LeftDrawerOrg/LeftDrawerOrg.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,10 @@ describe('Testing LeftDrawerOrg component for SUPERADMIN', () => {
</MockedProvider>,
);
await wait();
resizeWindow(800);
resizeWindow(820);

expect(screen.getAllByText(/Dashboard/i)[0]).toBeInTheDocument();
expect(screen.getAllByText(/People/i)[0]).toBeInTheDocument();
expect(screen.getAllByText(/Users/i)[0]).toBeInTheDocument();

const peopelBtn = screen.getByTestId(/People/i);
userEvent.click(peopelBtn);
Expand Down

0 comments on commit f9cc50b

Please sign in to comment.