test(): screenshot diff for opened dialog (#6309)

* Creates a screenshot for a simple opened dialog
This commit is contained in:
Paul Gschwendtner
2017-08-07 19:22:53 +02:00
committed by mmalerba
parent fbc0b95758
commit 8d09961562
+2
View File
@@ -6,6 +6,7 @@ import {
clickElementAtPoint,
waitForElement,
} from '../util/index';
import {screenshot} from '../screenshot';
describe('dialog', () => {
@@ -14,6 +15,7 @@ describe('dialog', () => {
it('should open a dialog', () => {
element(by.id('default')).click();
expectToExist('md-dialog-container');
screenshot('simple dialog opened');
});
it('should open a template dialog', () => {