DEV: Fix heisentests. (#18)
This commit is contained in:
parent
3960112440
commit
097bda91a9
|
@ -1,12 +1,16 @@
|
||||||
import { acceptance } from "helpers/qunit-helpers";
|
import { acceptance } from "helpers/qunit-helpers";
|
||||||
|
import { clearCallbacks } from "select-kit/mixins/plugin-api";
|
||||||
|
|
||||||
acceptance("Assign disabled mobile", {
|
acceptance("Assign disabled mobile", {
|
||||||
loggedIn: true,
|
loggedIn: true,
|
||||||
mobileView: true,
|
mobileView: true,
|
||||||
settings: { assign_enabled: false }
|
settings: { assign_enabled: false },
|
||||||
|
beforeEach() {
|
||||||
|
clearCallbacks();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
QUnit.skip("Footer dropdown does not contain button", async assert => {
|
QUnit.test("Footer dropdown does not contain button", async assert => {
|
||||||
const menu = selectKit(".topic-footer-mobile-dropdown");
|
const menu = selectKit(".topic-footer-mobile-dropdown");
|
||||||
|
|
||||||
await visit("/t/internationalization-localization/280");
|
await visit("/t/internationalization-localization/280");
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
import { acceptance } from "helpers/qunit-helpers";
|
import { acceptance } from "helpers/qunit-helpers";
|
||||||
|
import { clearCallbacks } from "select-kit/mixins/plugin-api";
|
||||||
|
|
||||||
acceptance("Assign mobile", {
|
acceptance("Assign mobile", {
|
||||||
loggedIn: true,
|
loggedIn: true,
|
||||||
mobileView: true,
|
mobileView: true,
|
||||||
settings: { assign_enabled: true }
|
settings: { assign_enabled: true },
|
||||||
|
beforeEach() {
|
||||||
|
clearCallbacks();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
QUnit.test("Footer dropdown contains button", async assert => {
|
QUnit.test("Footer dropdown contains button", async assert => {
|
||||||
|
|
Loading…
Reference in New Issue