function selectAndCheckElement (element, path, id) {
        var desc = 'Select element ' + element + ', see if highlighted and if path is ' + path;
        if(id !== undefined){
            desc += ', id: ' + id;
        }
        it(desc, function () {
            Lib.scrollToElement(element, 'container');
            ST.component(element).click().wait(200);
            Lib.textInsideElement(bottomPanel, 'Selected: ' + path);
            ST.component(element).hasCls('x-treelist-item-selected');
        });
    }
//copy of function from library because of checking panel content
copy of function from library because of checking panel content
copy of function from library because of checking panel content
function selectAndCheckElement (element, path, id) {
        var desc = 'Select element ' + element + ', see if highlighted and if path is ' + path;
        if(id !== undefined){
            desc += ', id: ' + id;
        }
        it(desc, function () {
            Lib.scrollToElement(element, 'container');
            ST.component(element).click().wait(200);
            Lib.textInsideElement(bottomPanel, 'Selected: ' + path);
            ST.component(element).hasCls('x-treelist-item-selected');
        });
    }
function selectAndCheckElement ( element , path , id ) { var desc = 'Select element ' + element + ', see if highlighted and if path is ' + path ; if ( id !== undefined ) { desc += ', id: ' + id ; } it ( desc , function ( ) { Lib . scrollToElement ( element , 'container' ) ; ST . component ( element ) . click ( ) . wait ( 200 ) ; Lib . textInsideElement ( bottomPanel , 'Selected: ' + path ) ; ST . component ( element ) . hasCls ( 'x-treelist-item-selected' ) ; } ) ; }
copy of function from library because of checking panel content
copy of function from library because of checking panel content