Skip to content

Commit

Permalink
[#1385] Add some ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
fivitti committed Oct 24, 2024
1 parent 84465f6 commit ed333b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webui/src/app/users-page/users-page.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ describe('UsersPageComponent', () => {

// Open the new user tab.
paramMapValue.next(convertToParamMap({ id: 'new' }))
tick()
fixture.detectChanges()

// Initially the form should be invalid because it is empty.
Expand All @@ -193,6 +194,7 @@ describe('UsersPageComponent', () => {
component.userForm.get('userGroup').setValue(1)
component.userForm.get('userPassword').setValue('password with spaces is cool')
component.userForm.get('userPassword2').setValue('password with spaces is cool')
tick()
fixture.detectChanges()

// The form should be validated ok.
Expand Down

0 comments on commit ed333b7

Please sign in to comment.