fix: the AcoustID and Library tests expect the new copy and one folder per line (M503 #5607)
release / govulncheck (push) Successful in 16s
release / web (push) Successful in 1m27s
release / go (push) Successful in 1m43s
release / android (push) Successful in 5m19s
release / integration (push) Successful in 5m22s
release / Build signed APK (releases and dev) (push) Successful in 5m38s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 25s
release / Verify release artifacts (tag releases only) (push) Skipped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-11 11:30:20 -04:00
co-authored by Claude Opus 5.5
parent 7f913e3e70
commit 0049b64ff1
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ describe("AcoustIDCard", () => {
await renderCard();
const key = screen.getByLabelText(/api key/i) as HTMLInputElement;
expect(key.value).toBe("");
expect(key.placeholder).toBe("Stored");
expect(key.placeholder).toBe("Key saved");
expect(saveButton()).toHaveProperty("disabled", true);
await fireEvent.input(
+2 -1
View File
@@ -59,7 +59,8 @@ const squash = (el: Element) => el.textContent?.replace(/\s+/g, ' ').trim();
describe('Admin › Library', () => {
test('lists the folders Minstrel reads', () => {
setup();
expect(squash(screen.getByTestId('library-folders'))).toBe('/music /more-music');
const folders = [...screen.getByTestId('library-folders').children].map((el) => el.textContent);
expect(folders).toEqual(['/music', '/more-music']);
});
test('before any scan it says so, with no job rows', () => {