DEV: Clear topic title input each smoke test.
There may be pre-filled topic title as a result of a draft.
This commit is contained in:
parent
427979e7e5
commit
7dc58d62e4
|
@ -181,6 +181,10 @@ const path = require("path");
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
await page.evaluate(() => {
|
||||||
|
document.getElementById("reply-title").value = "";
|
||||||
|
});
|
||||||
|
|
||||||
await exec("compose new topic", () => {
|
await exec("compose new topic", () => {
|
||||||
const date = `(${+new Date()})`;
|
const date = `(${+new Date()})`;
|
||||||
const title = `This is a new topic ${date}`;
|
const title = `This is a new topic ${date}`;
|
||||||
|
|
Loading…
Reference in New Issue