function typeAndValidate(color, label, text){
        it( label + ' should be editable', function () {
            Form.textfield(color, label)
                .type(text)
                .and(function(cmp){
                    expect(cmp.getValue()).toBe(text);
                });
        });
    }
// type text into field identified by color and label
type text into field identified by color and label
type text into field identified by color and label
function typeAndValidate(color, label, text){
        it( label + ' should be editable', function () {
            Form.textfield(color, label)
                .type(text)
                .and(function(cmp){
                    expect(cmp.getValue()).toBe(text);
                });
        });
    }
function typeAndValidate ( color , label , text ) { it ( label + ' should be editable' , function ( ) { Form . textfield ( color , label ) . type ( text ) . and ( function ( cmp ) { expect ( cmp . getValue ( ) ) . toBe ( text ) ; } ) ; } ) ; }
type text into field identified by color and label
type text into field identified by color and label