actually disconnect should NOT be visible...

This commit is contained in:
webzwo0i 2015-03-03 16:51:18 +01:00
parent f249b42ab4
commit 547046830e
1 changed files with 4 additions and 3 deletions

View File

@ -47,9 +47,10 @@ describe("clear authorship colors button", function(){
var hasAuthorClass = inner$("div").first().attr("class").indexOf("author") !== -1;
expect(hasAuthorClass).to.be(false);
var disconnectVisible = chrome$("div.disconnected").attr("class").indexOf("visible") === -1
expect(disconnectVisible).to.be(false);
setTimeout(function(){
var disconnectVisible = chrome$("div.disconnected").attr("class").indexOf("visible") === -1
expect(disconnectVisible).to.be(true);
},1000);
done();
});