@@ -45,7 +45,6 @@ describe('Angular-Validation badInput Tests:', function () {
4545 it ( 'Should display same invalid character error message even after a Tab' , function ( ) {
4646 // make input3 invalid, remove text
4747 var elmInput2 = $ ( '[name=input2]' ) ;
48- element ( by . css ( 'body' ) ) . click ( ) ;
4948 elmInput2 . sendKeys ( protractor . Key . TAB ) ;
5049
5150 // error should appear on input2
@@ -82,7 +81,7 @@ describe('Angular-Validation badInput Tests:', function () {
8281 } ) ;
8382
8483 it ( 'Should hide ValidationSummary after clicking on checkbox' , function ( ) {
85- var btnShowSummary = $ ( '[name=btn_showValidation ]' ) ;
84+ var btnShowSummary = $ ( '[name=chkbox_validationSummary ]' ) ;
8685 btnShowSummary . click ( ) ;
8786 browser . waitForAngular ( ) ;
8887
@@ -96,7 +95,6 @@ describe('Angular-Validation badInput Tests:', function () {
9695 var elmInput2 = $ ( '[name=input2]' ) ;
9796 elmInput2 . click ( ) ;
9897 clearInput ( elmInput2 , 5 ) ;
99- element ( by . css ( 'body' ) ) . click ( ) ;
10098 elmInput2 . sendKeys ( protractor . Key . TAB ) ;
10199
102100 // error should appear on input2
@@ -105,7 +103,7 @@ describe('Angular-Validation badInput Tests:', function () {
105103 } ) ;
106104
107105 it ( 'Should show ValidationSummary after clicking on show checkbox' , function ( ) {
108- var btnShowSummary = $ ( '[name=btn_showValidation ]' ) ;
106+ var btnShowSummary = $ ( '[name=chkbox_validationSummary ]' ) ;
109107 btnShowSummary . click ( ) ;
110108 browser . waitForAngular ( ) ;
111109
0 commit comments