mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 14:48:13 +00:00
[Common UI] Skeleton spec for dialogs
Skeleton specs for bundle platform/commonUI/dialog, responsible for displaying dialog overlays. Part of ongoing transition of common user interface elements for WTD-574.
This commit is contained in:
31
platform/commonUI/dialog/test/DialogServiceSpec.js
Normal file
31
platform/commonUI/dialog/test/DialogServiceSpec.js
Normal file
@ -0,0 +1,31 @@
|
||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||
|
||||
/**
|
||||
* MCTIncudeSpec. Created by vwoeltje on 11/6/14.
|
||||
*/
|
||||
define(
|
||||
["../src/DialogService"],
|
||||
function (DialogService) {
|
||||
"use strict";
|
||||
|
||||
describe("The dialog service", function () {
|
||||
|
||||
it("adds an overlay when user input is requested", function () {
|
||||
|
||||
});
|
||||
|
||||
it("allows user input to be canceled", function () {
|
||||
|
||||
});
|
||||
|
||||
it("passes back the result of user input when confirmed", function () {
|
||||
|
||||
});
|
||||
|
||||
it("logs a warning when a dialog is already showing", function () {
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
);
|
Reference in New Issue
Block a user