Revert click dsl, since what is returned by element is a jquery object

This commit is contained in:
Shyam Seshadri
2010-08-13 09:45:56 -07:00
parent 577ddaa539
commit 2767d7773f
2 changed files with 12 additions and 30 deletions

View File

@@ -174,12 +174,5 @@ describe("DSL", function() {
expect(future.value.text()).toEqual('Details...');
expect(future.value.attr('ng:bind')).toEqual('report.description');
});
it('should be able to click elements', function(){
var future = element('.link-class').click();
expect(future.name).toEqual("Click element '.link-class'");
executeFuture(future, html, function(value) { future.fulfill(value); });
expect(future.fulfilled).toBeTruthy();
// TODO(rajat): look for some side effect from click happening?
});
});
});