actually disconnect should NOT be visible...
This commit is contained in:
parent
f249b42ab4
commit
547046830e
|
@ -47,9 +47,10 @@ describe("clear authorship colors button", function(){
|
||||||
var hasAuthorClass = inner$("div").first().attr("class").indexOf("author") !== -1;
|
var hasAuthorClass = inner$("div").first().attr("class").indexOf("author") !== -1;
|
||||||
expect(hasAuthorClass).to.be(false);
|
expect(hasAuthorClass).to.be(false);
|
||||||
|
|
||||||
|
setTimeout(function(){
|
||||||
var disconnectVisible = chrome$("div.disconnected").attr("class").indexOf("visible") === -1
|
var disconnectVisible = chrome$("div.disconnected").attr("class").indexOf("visible") === -1
|
||||||
expect(disconnectVisible).to.be(false);
|
expect(disconnectVisible).to.be(true);
|
||||||
|
},1000);
|
||||||
|
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue