Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/generator-render.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export function renderGenerator({
const input = el("input", "f-ctl");
input.setAttribute("id", "gen-course");
input.type = "text";
input.placeholder = "CSE 24 or systems";
input.placeholder = "Course number or name";
input.autocomplete = "off";
input.setAttribute("aria-autocomplete", "list");
input.setAttribute("aria-controls", "gen-suggestions");
Expand Down
1 change: 1 addition & 0 deletions tests/generator-render.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ test("the builder exposes clear constraints and only available ranking prioritie
const page = setupDom();
const view = renderGenerator(options());
page.document.body.append(view);
assert.equal(view.querySelector("#gen-course").placeholder, "Course number or name");
assert.equal(view.querySelectorAll(".gen-course-chip").length, 2);
assert.equal(view.querySelectorAll(".gen-weight input").length, 5);
assert.match(view.textContent, /Open seats/);
Expand Down
Loading