fix timeslider stars and frontend tests, needs css polish
This commit is contained in:
parent
be4782ae07
commit
230302b132
|
@ -154,11 +154,17 @@ stepper:active{
|
||||||
top: 20px;
|
top: 20px;
|
||||||
width: 25px;
|
width: 25px;
|
||||||
}
|
}
|
||||||
|
.star:before{
|
||||||
|
font-family: fontawesome-etherpad;
|
||||||
|
content: "\e835";
|
||||||
|
vertical-align:middle;
|
||||||
|
font-size:16px;
|
||||||
|
}
|
||||||
#timeslider .star {
|
#timeslider .star {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 40px;
|
top: 25px;
|
||||||
width: 15px;
|
width: 15px;
|
||||||
}
|
}
|
||||||
#timeslider #timer {
|
#timeslider #timer {
|
||||||
|
|
|
@ -19,6 +19,7 @@ describe("timeslider", function(){
|
||||||
inner$("div").first().sendkeys('a');
|
inner$("div").first().sendkeys('a');
|
||||||
}, timePerRev*i);
|
}, timePerRev*i);
|
||||||
}
|
}
|
||||||
|
chrome$('.buttonicon-savedRevision').click();
|
||||||
|
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
// go to timeslider
|
// go to timeslider
|
||||||
|
@ -51,6 +52,8 @@ describe("timeslider", function(){
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
//make sure the text has changed
|
//make sure the text has changed
|
||||||
expect( timeslider$('#padcontent').text() ).not.to.eql( latestContents );
|
expect( timeslider$('#padcontent').text() ).not.to.eql( latestContents );
|
||||||
|
var starIsVisible = timeslider$('.star').is(":visible");
|
||||||
|
expect( starIsVisible ).to.eql( true );
|
||||||
done();
|
done();
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue