DEV: migrate acceptance tests to async await - invite, login, mobile
This commit is contained in:
@@ -2,9 +2,7 @@ import { acceptance } from "helpers/qunit-helpers";
|
||||
|
||||
acceptance("User Directory - Mobile", { mobileView: true });
|
||||
|
||||
QUnit.test("Visit Page", assert => {
|
||||
visit("/users");
|
||||
andThen(() => {
|
||||
assert.ok(exists(".directory .user"), "has a list of users");
|
||||
});
|
||||
QUnit.test("Visit Page", async assert => {
|
||||
await visit("/users");
|
||||
assert.ok(exists(".directory .user"), "has a list of users");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user