Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-parker committed Jul 28, 2024
1 parent f43a6ba commit 80e0a1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 1 addition & 2 deletions website/src/components/Submission/DataUploadForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,7 @@ const InnerDataUploadForm = ({
/>
<div>
<p className='text-xs pl-4 text-gray-500'>
I confirm that the data submitted is not sensitive, restricted-access or
human-identifiable.
I confirm that the data submitted is not sensitive or human-identifiable.
</p>
</div>
</label>
Expand Down
8 changes: 6 additions & 2 deletions website/src/components/Submission/SubmissionForm.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ describe('SubmitForm', () => {
await userEvent.click(
getByLabelText(/I confirm I have not and will not submit this data independently to INSDC/i),
);
await userEvent.click(getByLabelText(/I confirm that the data submitted is not sensitive, restricted-access/i));
await userEvent.click(
getByLabelText(/I confirm that the data submitted is not sensitive or human-identifiable/i),
);

const submitButton = getByText('Submit sequences');
await userEvent.click(submitButton);
Expand Down Expand Up @@ -142,7 +144,9 @@ describe('SubmitForm', () => {
await userEvent.click(
getByLabelText(/I confirm I have not and will not submit this data independently to INSDC/i),
);
await userEvent.click(getByLabelText(/I confirm that the data submitted is not sensitive, restricted-access/i));
await userEvent.click(
getByLabelText(/I confirm that the data submitted is not sensitive or human-identifiable/i),
);

const submitButton = getByText('Submit sequences');
await userEvent.click(submitButton);
Expand Down

0 comments on commit 80e0a1e

Please sign in to comment.