var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
define(["require", "exports", "../base-config", "../wed-test-util"], function (require, exports, globalConfig, wed_test_util_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    globalConfig = __importStar(globalConfig);
    const assert = chai.assert;
    describe("wed gui:", () => {
        let setup;
        let editor;
        before(() => {
            setup = new wed_test_util_1.EditorSetup(`${wed_test_util_1.dataPath}/wed_test_data/source_converted.xml`, globalConfig.config, document);
            ({ editor } = setup);
            return setup.init();
        });
        afterEach(() => {
            setup.reset();
        });
        after(() => {
            setup.restore();
            // tslint:disable-next-line:no-any
            editor = undefined;
        });
        describe("setNavigationList", () => {
            let $navigationPanel;
            before(() => {
                // tslint:disable-next-line:no-any
                $navigationPanel = editor.$navigationPanel;
            });
            it("makes the navigation list appear", () => {
                assert.equal($navigationPanel.css("display"), "none", "the list is not displayed");
                editor.setNavigationList([]);
                assert.equal($navigationPanel.css("display"), "block", "the list is displayed");
            });
        });
    });
});
//# sourceMappingURL=wed-gui-test.js.map