Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save netstart/086b035a39b17ef9923c71d58e288e4b to your computer and use it in GitHub Desktop.
Save netstart/086b035a39b17ef9923c71d58e288e4b to your computer and use it in GitHub Desktop.
it('Should be iconeImagem equal img/modules/administracao-controleprocessos.png', () => {
let urlDebugElement = fixture.debugElement.query(By.css('#module-access-img'));
expect(urlDebugElement).toBeDefined();
expect(urlDebugElement).not.toBeNull();
let htmlElement: HTMLImageElement = urlDebugElement.nativeElement;
expect(htmlElement.src).toContain('img/modules/administracao-controleprocessos.png');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment