) => {
+ onChange({ password: event.target.value });
+ }}
+ className="margin-top-6"
+ />
{formatHTML(
t('idv.forgot_password.link_html', {
diff --git a/spec/javascripts/packages/document-capture/components/warning-spec.jsx b/spec/javascripts/packages/document-capture/components/warning-spec.jsx
index 6726a4bcab9..07d9c1aae87 100644
--- a/spec/javascripts/packages/document-capture/components/warning-spec.jsx
+++ b/spec/javascripts/packages/document-capture/components/warning-spec.jsx
@@ -20,7 +20,7 @@ describe('document-capture/components/warning', () => {
troubleshootingOptions={
}
location="example"
@@ -46,6 +46,6 @@ describe('document-capture/components/warning', () => {
});
expect(getByText('Something went wrong')).to.exist();
expect(getByRole('heading', { name: 'Having trouble?' })).to.exist();
- expect(getByRole('link', { name: 'Get help' }).href).to.equal('https://example.com/');
+ expect(getByRole('link', { name: 'Get help' }).getAttribute('href')).to.equal('/');
});
});