Skip to content

A platform for community discussion. Free, open, simple.

DEV: Clear topic title input each smoke test.

Guo Xiang Tan7dc58d62e406
diff --git a/test/smoke_test.js b/test/smoke_test.js
index 9767f872bc2..57563326247 100644
--- a/test/smoke_test.js
+++ b/test/smoke_test.js
@@ -181,6 +181,10 @@ const path = require("path");
);
});
+ await page.evaluate(() => {
+ document.getElementById("reply-title").value = "";
+ });
+
await exec("compose new topic", () => {
const date = `(${+new Date()})`;
const title = `This is a new topic ${date}`;