test(e2e): update e2e tests to resolve snapshot issues

This commit is contained in:
Brandy Carney
2016-10-12 17:22:12 -04:00
parent 854dbd62ff
commit 2f8fbed0c4
3 changed files with 9 additions and 1 deletions

View File

View File

@ -14,7 +14,7 @@
<button ion-fab><ion-icon name="add"></ion-icon></button>
</ion-fab>
</div>
<ion-fab bottom right>
<ion-fab bottom center>
<button ion-fab><ion-icon name="close"></ion-icon></button>
</ion-fab>

View File

@ -3,6 +3,10 @@ it('should open modal', function() {
element(by.css('.e2eOpenModal')).click();
});
it('should close alert with button click', function() {
element(by.css('.alert-button:last-child')).click();
});
it('should close with close button click', function() {
element(by.css('.e2eCloseMenu')).click();
});
@ -11,6 +15,10 @@ it('should open toolbar modal', function() {
element(by.css('.e2eOpenToolbarModal')).click();
});
it('should close alert with button click', function() {
element(by.css('.alert-button:last-child')).click();
});
it('should close toolbar modal', function() {
element(by.css('.e2eCloseToolbarModal')).click();
});