DLNA renderers, app updates told like Librarian, acquisition without Lidarr, Collection and admin rework (M502–M505, M542) #156
@@ -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(
|
||||
|
||||
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user