mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(): use class selectors in e2e
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
|
||||
it('should check Cherry', function() {
|
||||
element(by.css('#e2eCherry')).click();
|
||||
element(by.css('.e2eCherry')).click();
|
||||
});
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user