Skip to content

Commit

Permalink
fix failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
atarix83 committed Jun 24, 2021
1 parent f8e4b77 commit 714b713
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ describe('AuthNavMenuComponent', () => {
});

it('should render login dropdown menu', () => {
const loginDropdownMenu = deNavMenuItem.query(By.css('div[id=loginDropdownMenu]'));
const loginDropdownMenu = deNavMenuItem.query(By.css('div.loginDropdownMenu'));
expect(loginDropdownMenu.nativeElement).toBeDefined();
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ describe('Dynamic Dynamic Scrollable Dropdown component', () => {
});

it('should display dropdown menu entries', () => {
const de = scrollableDropdownFixture.debugElement.query(By.css('input.custom-select'));
const de = scrollableDropdownFixture.debugElement.query(By.css('input.form-control'));
const btnEl = de.nativeElement;

const deMenu = scrollableDropdownFixture.debugElement.query(By.css('div.scrollable-dropdown-menu'));
Expand All @@ -156,7 +156,7 @@ describe('Dynamic Dynamic Scrollable Dropdown component', () => {
it('should select a results entry properly', fakeAsync(() => {
const selectedValue = Object.assign(new VocabularyEntry(), { authority: 1, display: 'one', value: 1 });

let de: any = scrollableDropdownFixture.debugElement.query(By.css('input.custom-select'));
let de: any = scrollableDropdownFixture.debugElement.query(By.css('input.form-control'));
let btnEl = de.nativeElement;

btnEl.click();
Expand Down

0 comments on commit 714b713

Please sign in to comment.