Skip to content

Commit

Permalink
feat: updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavkparti committed Jul 30, 2024
1 parent 416c356 commit e8c44fb
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,13 @@ describe('Request trust relationship', function () {
screen.getByRole('listbox', { name: /Trust Request Type/ })
).toBeInTheDocument();

expect(screen.getAllByRole('option')).toHaveLength(3);
expect(screen.getAllByRole('option')).toHaveLength(6);
expect(screen.getByRole('option', { name: /Send/ })).toBeInTheDocument();
expect(screen.getByRole('option', { name: /Deduct/ })).toBeInTheDocument();
expect(screen.getByRole('option', { name: /Manage/ })).toBeInTheDocument();

// screen.getByRole('');
expect(screen.getByRole('option', { name: /Release/ })).toBeInTheDocument();
expect(screen.getByRole('option', { name: /Receive/ })).toBeInTheDocument();
expect(screen.getByRole('option', { name: /Yield/ })).toBeInTheDocument();
});

it('close and cancel buttons work correctly', async () => {
Expand Down

0 comments on commit e8c44fb

Please sign in to comment.