2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

was failing on latest phantom, fix test

This commit is contained in:
Sam 2016-05-24 13:25:47 +10:00
parent 7beea0493e
commit b3965eb069

View file

@ -190,6 +190,10 @@ var runTests = function() {
return document.querySelector(".topic-list"); return document.querySelector(".topic-list");
}); });
test('we have a create topic button', function() {
return document.querySelector("#create-topic");
});
exec("open composer", function() { exec("open composer", function() {
$("#create-topic").click(); $("#create-topic").click();
}); });