mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 08:43:25 +08:00
DEV: Remove obsolete commented out tests
Commented out in 2016 in ff74bd7e28
This commit is contained in:
parent
f722fa3615
commit
fe2d5da623
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user