From 22898fb344e04627bf1170e55ad0e6327a170c4f Mon Sep 17 00:00:00 2001 From: gusthoff Date: Sun, 8 Sep 2024 06:26:24 +0200 Subject: [PATCH] Test script: removing test because of confirmation window --- frontend/tests/ts/widget.spec.ts | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/frontend/tests/ts/widget.spec.ts b/frontend/tests/ts/widget.spec.ts index 249c4dbf6..371057391 100644 --- a/frontend/tests/ts/widget.spec.ts +++ b/frontend/tests/ts/widget.spec.ts @@ -404,28 +404,6 @@ describe('Widget', () => { editor = ace.edit(editorDiv); }); - it('should have a checkbox that switches tab setting', () => { - const nonTabbedEditorDiv: HTMLElement = getElemById(root.id + '.editors.non-tabbed-editor'); - const box = getElemById(root.id + '.settings-bar.tab-setting') as - HTMLInputElement; - - const origIsTabbedView : boolean = !editorDiv.hidden; - expect(nonTabbedEditorDiv.hidden).to.equal(origIsTabbedView); - - box.checked = !box.checked; - triggerEvent(box, 'change'); - expect(editorDiv.hidden).to.equal(origIsTabbedView); - expect(nonTabbedEditorDiv.hidden).to.not.equal(origIsTabbedView); - - // Test hiding / showing buttons for tabbed view - const tabs = getElemById(root.id + '.tab'); - const headers = getElemsByTag(tabs, 'button'); - - for (const h of headers) { - expect(h.hidden).to.equal(origIsTabbedView); - } - }); - it('should have a button that resets the editor', () => { const btn = getElemById(root.id + '.settings-bar.reset-btn') as HTMLButtonElement;