test(actionsheet): fix selector

This commit is contained in:
Adam Bradley
2015-10-29 22:30:03 -05:00
parent f721020dc0
commit 636910aee1
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
it('should open action sheet', function() {
element(by.css('button')).click();
element(by.css('.e2eOpenActionSheet')).click();
});
it('should close with backdrop click', function() {

View File

@ -10,7 +10,7 @@ class IonicApp {
this.actionSheet = actionSheet;
}
openMenu() {
openActionSheet() {
this.actionSheet.open({
buttons: [

View File

@ -1,5 +1,6 @@
<ion-content padding>
<button (click)="openMenu()">Open Action Sheet</button>
<button class="e2eOpenActionSheet" (click)="openActionSheet()">Open Action Sheet</button>
</ion-content>
<ion-overlay></ion-overlay>