Skip to content

Commit 085f9ec

Browse files
committed
test: update filter test to expect unique 'drawing-test'
1 parent 95267eb commit 085f9ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

QualityControl/test/public/pages/layout-list.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,13 +231,13 @@ export const layoutListPageTests = async (url, page, timeout = 5000, testParent)
231231
strictEqual(postFilterCardCount, 1);
232232
});
233233

234-
await testParent.test('should have a folder with one card after filtering', async () => {
234+
await testParent.test('should have a folder with one card after filtering', { timeout }, async () => {
235235
// reset page, thus reset filter/search.
236236
await page.goto(`${url}${LAYOUT_LIST_PAGE_PARAM}`, { waitUntil: 'networkidle0' });
237237
await delay(100);
238238
const preFilterCardCount = await page.evaluate(() => document.querySelectorAll('.card').length);
239239
strictEqual(preFilterCardCount, 3);
240-
await page.locator(filterPath).fill('a-test');
240+
await page.locator(filterPath).fill('drawing-test');
241241

242242
await delay(100);
243243
const postFilterCardCount = await page.evaluate(() => document.querySelectorAll('.card').length);

0 commit comments

Comments
 (0)