From fe2d5da623eac21f3293fa4d1ae1a14be02e1c99 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Sun, 10 May 2020 20:35:31 +0200 Subject: [PATCH] DEV: Remove obsolete commented out tests Commented out in 2016 in ff74bd7e28a13014dd09228445bf0a9938066518 --- .../acceptance/search-full-test.js | 66 ------------------- 1 file changed, 66 deletions(-) diff --git a/test/javascripts/acceptance/search-full-test.js b/test/javascripts/acceptance/search-full-test.js index d869af65a32..06af593add5 100644 --- a/test/javascripts/acceptance/search-full-test.js +++ b/test/javascripts/acceptance/search-full-test.js @@ -172,72 +172,6 @@ QUnit.test("update category through advanced search ui", async assert => { ); }); -// test("update group through advanced search ui", assert => { -// visit("/search"); -// fillIn('.search-query', 'none'); -// -// fillIn('.search-advanced-options .group-selector', 'moderators'); -// click('.search-advanced-options .group-selector'); -// keyEvent('.search-advanced-options .group-selector', 'keydown', 8); -// -// andThen(() => { -// waitFor(() => { -// assert.ok(visible('.search-advanced-options .autocomplete'), '"autocomplete" popup is visible'); -// assert.ok(exists('.search-advanced-options .autocomplete ul li a:contains("moderators")'), '"autocomplete" popup has an entry for "moderators"'); -// -// click('.search-advanced-options .autocomplete ul li a:first'); -// -// andThen(() => { -// assert.ok(exists('.search-advanced-options span:contains("moderators")'), 'has "moderators" pre-populated'); -// assert.equal(find('.search-query').val(), "none group:moderators", 'has updated search term to "none group:moderators"'); -// }); -// }); -// }); -// }); - -// test("update badges through advanced search ui", assert => { -// visit("/search"); -// fillIn('.search-query', 'none'); -// -// fillIn('.search-advanced-options .badge-names', 'Reader'); -// click('.search-advanced-options .badge-names'); -// keyEvent('.search-advanced-options .badge-names', 'keydown', 8); -// -// andThen(() => { -// waitFor(() => { -// assert.ok(visible('.search-advanced-options .autocomplete'), '"autocomplete" popup is visible'); -// assert.ok(exists('.search-advanced-options .autocomplete ul li a:contains("Reader")'), '"autocomplete" popup has an entry for "Reader"'); -// -// click('.search-advanced-options .autocomplete ul li a:first'); -// -// andThen(() => { -// assert.ok(exists('.search-advanced-options span:contains("Reader")'), 'has "Reader" pre-populated'); -// assert.equal(find('.search-query').val(), "none badge:Reader", 'has updated search term to "none badge:Reader"'); -// }); -// }); -// }); -// }); - -// test("update tags through advanced search ui", assert => { -// visit("/search"); -// fillIn('.search-query', 'none'); -// -// -// keyEvent('.search-advanced-options .tag-chooser input.select2-input', 'keydown', 110); -// fillIn('.search-advanced-options .tag-chooser input.select2-input', 'monkey'); -// keyEvent('.search-advanced-options .tag-chooser input.select2-input', 'keyup', 110); -// -// andThen(() => { -// waitFor(() => { -// click('li.select2-result-selectable:first'); -// andThen(() => { -// assert.ok(exists('.search-advanced-options .tag-chooser .tag-monkey'), 'has "monkey" pre-populated'); -// assert.equal(find('.search-query').val(), "none tags:monkey", 'has updated search term to "none tags:monkey"'); -// }); -// }); -// }); -// }); -// QUnit.test( "update in:title filter through advanced search ui", async assert => {