mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
DEV: migrate acceptance tests to async await - invite, login, mobile
This commit is contained in:
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");
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue