mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
switch
This commit is contained in:
@@ -4,7 +4,8 @@ it('should check apple via checkbox element click', function() {
|
||||
});
|
||||
|
||||
|
||||
it('should enable/check grape via buttons', function() {
|
||||
it('should enable/check grape via buttons and submit form', function() {
|
||||
element(by.css('#e2eGrapeDisabled')).click();
|
||||
element(by.css('#e2eGrapeChecked')).click();
|
||||
element(by.css('#e2eSubmit')).click();
|
||||
});
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<p aria-hidden="true" class="align-center">
|
||||
<button (click)="toggleGrapeChecked()" outline primary small id="e2eGrapeChecked">Grape Checked</button>
|
||||
<button (click)="toggleGrapeDisabled()" outline primary small id="e2eGrapeDisabled">Grape Disabled</button>
|
||||
<button (click)="doSubmit($event)" outline primary small>Submit</button>
|
||||
<button (click)="doSubmit($event)" outline primary small id="e2eSubmit">Submit</button>
|
||||
</p>
|
||||
|
||||
<p aria-hidden="true" class="padding">
|
||||
|
||||
Reference in New Issue
Block a user