chore(): use class selectors in e2e

This commit is contained in:
Adam Bradley
2015-09-22 11:25:27 -05:00
parent 50c82a7de9
commit 3bd0b5c8ac
20 changed files with 41 additions and 40 deletions

View File

@@ -1,4 +1,4 @@
it('should check Cherry', function() {
element(by.css('#e2eCherry')).click();
element(by.css('.e2eCherry')).click();
});

View File

@@ -16,7 +16,7 @@
Apple
</ion-radio>
<ion-radio value="banana" id="e2eBanana">
<ion-radio value="banana" class="e2eBanana">
Banana
</ion-radio>
@@ -35,7 +35,7 @@
<p aria-hidden="true" class="align-center">
<button (click)="setApple()" outline small>Select Apple</button>
<button (click)="setBanana()" outline small>Select Banana</button>
<button id="e2eCherry" (click)="setCherry()" outline small>Select Cherry</button>
<button class="e2eCherry" (click)="setCherry()" outline small>Select Cherry</button>
</p>
<p>