DEV: Remove qunit test for search input (#97)
With https://github.com/discourse/discourse/pull/33098, you can no longer see the search button in the header if the welcome/search banner is shown, so we don't need to check for this.
This commit is contained in:
parent
8ded9fd43a
commit
2f705730b3
|
|
@ -3,7 +3,10 @@ import { test } from "qunit";
|
|||
import { acceptance, query } from "discourse/tests/helpers/qunit-helpers";
|
||||
|
||||
acceptance("Discourse Advanced Search Banner", function (needs) {
|
||||
needs.user({ admin: true, experimental_search_menu_groups_enabled: true });
|
||||
needs.user({
|
||||
admin: true,
|
||||
experimental_search_menu_groups_enabled: true,
|
||||
});
|
||||
|
||||
test("Advanced Search Banner is present", async function (assert) {
|
||||
await visit("/");
|
||||
|
|
@ -40,15 +43,6 @@ acceptance("Discourse Advanced Search Banner", function (needs) {
|
|||
assert.dom(".custom-search-banner .results").doesNotExist();
|
||||
});
|
||||
|
||||
test("searching for a term in the search menu fills in the search banner search input", async function (assert) {
|
||||
await visit("/");
|
||||
await click("#search-button");
|
||||
await fillIn("#custom-search-input", "test");
|
||||
assert
|
||||
.dom(".custom-search-banner input#custom-search-input")
|
||||
.hasValue("test", "search inputs have matching terms");
|
||||
});
|
||||
|
||||
test("you can navigate search results with the keyboard", async function (assert) {
|
||||
const container = ".custom-search-banner .results";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue