mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
test(): screenshot diff for opened dialog (#6309)
* Creates a screenshot for a simple opened dialog
This commit is contained in:
committed by
mmalerba
parent
fbc0b95758
commit
8d09961562
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user