diff --git a/frontend/src/app/core/services/find-username.service.spec.ts b/frontend/src/app/core/services/find-username.service.spec.ts index 22187fcdd6..f009aa389c 100644 --- a/frontend/src/app/core/services/find-username.service.spec.ts +++ b/frontend/src/app/core/services/find-username.service.spec.ts @@ -5,7 +5,7 @@ import { TestBed } from '@angular/core/testing'; import { FindUsernameService } from './find-username.service'; -fdescribe('FindUsernameService', () => { +describe('FindUsernameService', () => { let service: FindUsernameService; let http: HttpTestingController; diff --git a/frontend/src/app/features/forgot-your-username-or-password/forgot-your-username/find-username/find-username.component.html b/frontend/src/app/features/forgot-your-username-or-password/forgot-your-username/find-username/find-username.component.html index f83e1e02cf..96964b6f73 100644 --- a/frontend/src/app/features/forgot-your-username-or-password/forgot-your-username/find-username/find-username.component.html +++ b/frontend/src/app/features/forgot-your-username-or-password/forgot-your-username/find-username/find-username.component.html @@ -4,7 +4,7 @@

Your security question

-

You chose this question when you created your account

+

You chose this question when you created your account.

Question

{{ securityQuestion }} diff --git a/frontend/src/app/features/forgot-your-username-or-password/forgot-your-username/forgot-your-username.component.spec.ts b/frontend/src/app/features/forgot-your-username-or-password/forgot-your-username/forgot-your-username.component.spec.ts index 099247df70..187e18fe75 100644 --- a/frontend/src/app/features/forgot-your-username-or-password/forgot-your-username/forgot-your-username.component.spec.ts +++ b/frontend/src/app/features/forgot-your-username-or-password/forgot-your-username/forgot-your-username.component.spec.ts @@ -15,7 +15,7 @@ import { FindAccountComponent } from './find-account/find-account.component'; import { FindUsernameComponent } from './find-username/find-username.component'; import { ForgotYourUsernameComponent } from './forgot-your-username.component'; -fdescribe('ForgotYourUsernameComponent', () => { +describe('ForgotYourUsernameComponent', () => { const setup = async () => { const setupTools = await render(ForgotYourUsernameComponent, { imports: [HttpClientTestingModule, FormsModule, ReactiveFormsModule, RouterTestingModule, SharedModule], @@ -167,7 +167,7 @@ fdescribe('ForgotYourUsernameComponent', () => { }); }); - fdescribe('Find username', () => { + describe('Find username', () => { const setupAndProceedToFindUsername = async () => { const setuptools = await setup(); @@ -189,7 +189,7 @@ fdescribe('ForgotYourUsernameComponent', () => { const { getByText } = await setupAndProceedToFindUsername(); expect(getByText('Your security question')).toBeTruthy(); - expect(getByText('You chose this question when you created your account')).toBeTruthy(); + expect(getByText('You chose this question when you created your account.')).toBeTruthy(); expect(getByText('Question')).toBeTruthy(); expect(getByText(mockTestUser.securityQuestion)).toBeTruthy(); }); @@ -274,7 +274,7 @@ fdescribe('ForgotYourUsernameComponent', () => { expect(findUsernameService.usernameFound).toEqual(null); }); - fit('should show a different error message when only 1 chance remain', async () => { + it('should show a different error message when only 1 chance remain', async () => { const { fixture, getByRole, getByText, findUsernameService } = await setupAndProceedToFindUsername(); spyOn(findUsernameService, 'findUsername').and.returnValue(of({ answerCorrect: false, remainingAttempts: 1 }));