Merge pull request #10575 from AlexSCorey/fixesFailingUnitTest

Fixes failing test

SUMMARY
Fixes a failing unit test

Reviewed-by: Keith Grant <keithjgrant@gmail.com>
This commit is contained in:
softwarefactory-project-zuul[bot] 2021-07-01 17:16:38 +00:00 committed by GitHub
commit bc8e19b51d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,8 @@ describe('<JobTemplateForm />', () => {
/>
);
});
wrapper.update();
await waitForElement(wrapper, 'Spinner', el => el.length === 0);
await act(async () => {
wrapper.find('input#template-name').simulate('change', {