Skip to content

Commit

Permalink
DEV: Fix test from previous PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkshine committed Jul 12, 2024
1 parent 00070dd commit d953297
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/acceptance/discord-widget-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { click, visit } from "@ember/test-helpers";

Check failure on line 1 in test/acceptance/discord-widget-test.js

View workflow job for this annotation

GitHub Actions / ci / linting

Run autofix to sort these imports!
import { test } from "qunit";
import { acceptance, visible } from "discourse/tests/helpers/qunit-helpers";
import {
acceptance,
visible,
exists,
} from "discourse/tests/helpers/qunit-helpers";
import I18n from "discourse-i18n";

acceptance("Discord Widget - Default", function (needs) {
Expand All @@ -27,7 +31,7 @@ acceptance("Discord Widget - Default", function (needs) {

assert.ok(visible(".discord-widget-content"), "The panel is visible");
assert.ok(
visible(".discord-widget-content iframe"),
exists(".discord-widget-content iframe"),
"The iframe is visible"
);
});
Expand Down

0 comments on commit d953297

Please sign in to comment.