rem: ok( $("#groups").parent()[0].id == "ap", "Simple parent check" ); ok( $("#groups").parent("p")[0].id == "ap", "Filtered parent check" ); ok( $("#groups").parent("div").length == 0, "Filtered parent check, no match" ); ok( $("#groups").parent("div, p")[0].id == "ap", "Check for multiple filters" ); isSet( $("#en, #sndp").parent().get(), q("foo"), "Check for unique results from parent" ); 
add: isSet( $("#en").siblings().get(), q("sndp", "sap"), "Check for siblings" ); isSet( $("#sndp").siblings("[code]").get(), q("sap"), "Check for filtered siblings (has code child element)" ); isSet( $("#sndp").siblings("[a]").get(), q("en", "sap"), "Check for filtered siblings (has anchor child element)" ); isSet( $("#foo").siblings("form, b").get(), q("form", "lengthtest", "floatTest"), "Check for multiple filters" ); isSet( $("#en, #sndp").siblings().get(), q("sndp", "sap", "en"), "Check for unique results from siblings" ); 
context: test("parent([String])", function() {	expect(5);	ok( $("#groups").parent()[0].id == "ap", "Simple parent check" );	ok( $("#groups").parent("p")[0].id == "ap", "Filtered parent check" );	ok( $("#groups").parent("div").length == 0, "Filtered parent check, no match" );	ok( $("#groups").parent("div, p")[0].id == "ap", "Check for multiple filters" );	isSet( $("#en, #sndp").parent().get(), q("foo"), "Check for unique results from parent" );});
meta: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2798/e3263063e4ef3d2e0ee6b74b9da573bf40e87668/coreTest.js/buggy/src/jquery/coreTest.js