I'm running a test with qUnit that shows i am appending rows to a
table correctly.  At this point I just want to show I'm getting the
right rows back.  But it doesn't look like the dom isn't picking up
the newly added rows.

I'm seeing the rows, so my call is working, I would just like to
verify this in the unit test.  Am I missing something or is this
expected behavior since I'm adding to the dom.

Here is my test:
test("should load the rows in the grid",function(){
        stop();
        loadNotesGrid(opportunityID,0,5,'OppNotes');
        start();
        var actual = $('#OppNotes tbody tr').length;
        equals(actual, 5, "should have 5 rows");
});

thanks,
john

Reply via email to