finished urls test

This commit is contained in:
Peter 'Pita' Martischka 2012-10-08 18:42:52 +01:00
parent 7adef188ff
commit 397036db46
1 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,9 @@ describe("urls", function(){
firstTextElement.sendkeys('{selectall}'); // select all
firstTextElement.sendkeys('{del}'); // clear the first line
firstTextElement.sendkeys('http://etherpad.org'); // insert a URL
done();
helper.waitFor(function(){
return inner$("div").first().find("a").length === 1;
}, 2000).done(done);
});
});