This commit is contained in:
Adam Bradley
2015-08-06 23:41:34 -05:00
parent 782723ca84
commit 56f2a37696
12 changed files with 256 additions and 161 deletions

View File

@@ -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();
});

View File

@@ -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">