Last active
February 1, 2017 18:52
-
-
Save netstart/086b035a39b17ef9923c71d58e288e4b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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