Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRMDR-506 Refactor UI Tests #170

Merged
merged 21 commits into from
Nov 30, 2023
Merged

PRMDR-506 Refactor UI Tests #170

merged 21 commits into from
Nov 30, 2023

Conversation

RioKnightleyNHS
Copy link
Contributor

No description provided.

@@ -341,7 +357,7 @@ describe('<UploadDocumentsPage />', () => {
);

it('renders link to PCSE that opens in a new tab', () => {
renderSelectStage(setDocumentMock);
render(<SelectStage setDocuments={setDocumentMock} uploadDocuments={() => {}} />);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change but could we not put these renders in a render function to avoid much of the implementation duplication used across this file?

@RioKnightleyNHS RioKnightleyNHS merged commit 19d17bd into main Nov 30, 2023
7 checks passed
@RioKnightleyNHS RioKnightleyNHS deleted the prmdr-506 branch November 30, 2023 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants