Skip to content

Commit 22898fb

Browse files
committed
Test script: removing test because of confirmation window
1 parent 694135e commit 22898fb

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

frontend/tests/ts/widget.spec.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -404,28 +404,6 @@ describe('Widget', () => {
404404
editor = ace.edit(editorDiv);
405405
});
406406

407-
it('should have a checkbox that switches tab setting', () => {
408-
const nonTabbedEditorDiv: HTMLElement = getElemById(root.id + '.editors.non-tabbed-editor');
409-
const box = getElemById(root.id + '.settings-bar.tab-setting') as
410-
HTMLInputElement;
411-
412-
const origIsTabbedView : boolean = !editorDiv.hidden;
413-
expect(nonTabbedEditorDiv.hidden).to.equal(origIsTabbedView);
414-
415-
box.checked = !box.checked;
416-
triggerEvent(box, 'change');
417-
expect(editorDiv.hidden).to.equal(origIsTabbedView);
418-
expect(nonTabbedEditorDiv.hidden).to.not.equal(origIsTabbedView);
419-
420-
// Test hiding / showing buttons for tabbed view
421-
const tabs = getElemById(root.id + '.tab');
422-
const headers = getElemsByTag(tabs, 'button');
423-
424-
for (const h of headers) {
425-
expect(h.hidden).to.equal(origIsTabbedView);
426-
}
427-
});
428-
429407
it('should have a button that resets the editor', () => {
430408
const btn = getElemById(root.id + '.settings-bar.reset-btn') as
431409
HTMLButtonElement;

0 commit comments

Comments
 (0)