diff --git a/src/components/library-item/library-item.css b/src/components/library-item/library-item.css index 55edcc2e33e45b2f0518d32788844c08b98fe12b..692e1b61278611820575afe95f264fe2df1134b0 100644 --- a/src/components/library-item/library-item.css +++ b/src/components/library-item/library-item.css @@ -8,6 +8,7 @@ justify-content: flex-start; flex-basis: 160px; height: 160px; + max-width: 160px; margin: $space; padding: 1rem 1rem 0 1rem; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; diff --git a/test/integration/costumes.test.js b/test/integration/costumes.test.js index ad55ce472b71c8c75a1f3ebdaee26d4aff412c24..5181c429a6b69cb0298f9eb677787c672c3ac8dd 100644 --- a/test/integration/costumes.test.js +++ b/test/integration/costumes.test.js @@ -33,9 +33,7 @@ describe('Working with costumes', () => { const el = await findByXpath("//input[@placeholder='Search']"); await el.sendKeys('abb'); await clickText('Abby-a'); // Should close the modal, then click the costumes in the selector - await new Promise(resolve => setTimeout(resolve, 5000)); await findByXpath("//input[@value='Abby-a']"); // Should show editor for new costume - await new Promise(resolve => setTimeout(resolve, 5000)); const logs = await getLogs(); await expect(logs).toEqual([]); });