fix timeslider stars and frontend tests, needs css polish

This commit is contained in:
John McLear 2015-01-01 22:40:45 +00:00
parent be4782ae07
commit 230302b132
2 changed files with 10 additions and 1 deletions

View file

@ -19,6 +19,7 @@ describe("timeslider", function(){
inner$("div").first().sendkeys('a');
}, timePerRev*i);
}
chrome$('.buttonicon-savedRevision').click();
setTimeout(function() {
// go to timeslider
@ -51,6 +52,8 @@ describe("timeslider", function(){
setTimeout(function() {
//make sure the text has changed
expect( timeslider$('#padcontent').text() ).not.to.eql( latestContents );
var starIsVisible = timeslider$('.star').is(":visible");
expect( starIsVisible ).to.eql( true );
done();
}, 1000);