From f713298d37996a4391a226b5e3668cdc35ca2941 Mon Sep 17 00:00:00 2001
From: Ben Wheeler
+
{this.props.errorMsg}
)} diff --git a/test/unit/components/registration-error-step.test.jsx b/test/unit/components/registration-error-step.test.jsx index e8a74ebd6..cb80e0360 100644 --- a/test/unit/components/registration-error-step.test.jsx +++ b/test/unit/components/registration-error-step.test.jsx @@ -33,7 +33,7 @@ describe('RegistrationErrorStep', () => { }; const joinFlowStepWrapper = getRegistrationErrorStepWrapper(props).find(JoinFlowStep); const joinFlowStepInstance = joinFlowStepWrapper.dive(); - const errMsgElement = joinFlowStepInstance.find('#registration-error-msg'); + const errMsgElement = joinFlowStepInstance.find('.registration-error-msg'); expect(errMsgElement).toHaveLength(1); expect(errMsgElement.text()).toEqual('halp there is a errors!!'); }); @@ -45,7 +45,7 @@ describe('RegistrationErrorStep', () => { }; const joinFlowStepWrapper = getRegistrationErrorStepWrapper(props).find(JoinFlowStep); const joinFlowStepInstance = joinFlowStepWrapper.dive(); - const errMsgElement = joinFlowStepInstance.find('#registration-error-msg'); + const errMsgElement = joinFlowStepInstance.find('.registration-error-msg'); expect(errMsgElement).toHaveLength(0); });