DEV: migrate acceptance tests to async await - invite, login, mobile

This commit is contained in:
Maja Komel
2018-07-19 12:12:00 +02:00
parent a2281fbb19
commit 2e96646659
8 changed files with 142 additions and 198 deletions
@@ -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");
});