Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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";
import { test } from "qunit";
import { acceptance, visible } from "discourse/tests/helpers/qunit-helpers";
import {
acceptance,
exists,
visible,
} 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