Skip to content
Snippets Groups Projects
Commit 250a6012 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4653 OZG-4708 fix spec

parent 6d987a8a
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,6 @@ import { MatIconTestingModule } from '@angular/material/icon/testing'; ...@@ -28,7 +28,6 @@ import { MatIconTestingModule } from '@angular/material/icon/testing';
import { getElementFromFixture } from '@alfa-client/test-utils'; import { getElementFromFixture } from '@alfa-client/test-utils';
import { getDataTestClassOf } from 'libs/tech-shared/test/data-test'; import { getDataTestClassOf } from 'libs/tech-shared/test/data-test';
import { PostfachIconComponent } from './postfach-icon.component'; import { PostfachIconComponent } from './postfach-icon.component';
import { expectIconWithoutBadge } from '../../../../../../apps/alfa-e2e/src/support/angular.util';
describe('PostfachIconComponent', () => { describe('PostfachIconComponent', () => {
...@@ -69,7 +68,7 @@ describe('PostfachIconComponent', () => { ...@@ -69,7 +68,7 @@ describe('PostfachIconComponent', () => {
const icon: HTMLElement = getElementFromFixture(fixture, postfachIcon); const icon: HTMLElement = getElementFromFixture(fixture, postfachIcon);
expect(icon).toHaveClass('mat-icon'); expect(icon).toHaveClass('mat-icon');
expectIconWithoutBadge(icon); expect(icon).toHaveClass('mat-badge-hidden');
}); });
it('should show mail icon with badge', () => { it('should show mail icon with badge', () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment