b5bd5754a1
(cherry picked from commit d82cef50e99e9da6f0d6b94f2bd950bf063d6400)
19 lines
387 B
JavaScript
19 lines
387 B
JavaScript
const Page = require('./page');
|
|
const StatusTestPage = require('./page-status');
|
|
|
|
test("Tests setting/changing/clearing a user's status", async () =>
|
|
{
|
|
var test = new StatusTestPage();
|
|
try
|
|
{
|
|
await test.init(Page.getArgs());
|
|
await test.test();
|
|
await test.close();
|
|
}
|
|
catch(e)
|
|
{
|
|
console.log(e);
|
|
await test.close();
|
|
throw new Error("Test failed");
|
|
}
|
|
}); |