Skip to content

Commit

Permalink
test: update tests for closed
Browse files Browse the repository at this point in the history
  • Loading branch information
AntBush committed May 2, 2024
1 parent ae48bb6 commit 6389405
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/tests/components/Analyst/ChangeStatus.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ describe('The application header component', () => {
expect(screen.getByText('Approved')).toBeInTheDocument();
expect(screen.getByText('Assessment')).toBeInTheDocument();
expect(screen.getByText('Cancelled')).toBeInTheDocument();
expect(screen.getByText('Closed')).toBeInTheDocument();
expect(screen.getByText('Not selected')).toBeInTheDocument();
expect(screen.getByText('Reporting complete')).toBeInTheDocument();
expect(screen.getByText('Conditionally approved')).toBeInTheDocument();
expect(screen.getByText('On hold')).toBeInTheDocument();
Expand Down Expand Up @@ -250,7 +250,7 @@ describe('The application header component', () => {

expect(screen.getByText('Approved')).toBeInTheDocument();
expect(screen.getByText('Cancelled')).toBeInTheDocument();
expect(screen.getByText('Closed')).toBeInTheDocument();
expect(screen.getByText('Not selected')).toBeInTheDocument();
expect(screen.getByText('Reporting complete')).toBeInTheDocument();
expect(screen.getByText('Conditionally approved')).toBeInTheDocument();
expect(screen.getByText('On hold')).toBeInTheDocument();
Expand Down
2 changes: 1 addition & 1 deletion app/tests/pages/analyst/dashboard.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ describe('The index page', () => {
pageTestingHelper.renderPage();

const internalStatus = screen.getByText('Received');
const externalStatus = screen.getAllByText('Closed')[0];
const externalStatus = screen.getAllByText('Not selected')[0];

expect(internalStatus).toBeInTheDocument();
expect(externalStatus).toBeInTheDocument();
Expand Down

0 comments on commit 6389405

Please sign in to comment.