Skip to content

Commit

Permalink
TEST: add sleep to viewing self without duplicate_accounts test
Browse files Browse the repository at this point in the history
seems necessary to ensure the test doesn't fail arbitrarily

mozilla/discourse#173
  • Loading branch information
LeoMcA committed Mar 13, 2019
1 parent 4c01b25 commit ca5a9af
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -152,6 +152,8 @@ QUnit.test("viewing another user with secondary emails", async assert => {
QUnit.test("viewing self without duplicate_accounts", async assert => {
await visit("/u/eviltrout/preferences/account")

await new Promise(r => setTimeout(r, 1000)) // seems necessary to ensure test doesn't fail

assert.notOk(
exists(".pref-mozilla-iam-duplicate-accounts"),
"doesn't show duplicate accounts section"
Expand Down

0 comments on commit ca5a9af

Please sign in to comment.