Skip to content

Commit

Permalink
Fixed tasks filtering test
Browse files Browse the repository at this point in the history
  • Loading branch information
zonia3000 committed Dec 11, 2024
1 parent 6995a88 commit de7a085
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/v2/tasks_filtering.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ async function testFiltering(page) {
const modalityFilter = page.getByLabel('Select modality');
const categoryFilter = page.getByLabel('Select category');
const tagFilter = page.getByLabel('Select tag');
const inputTypeFilter = page.getByLabel('Select input type');

const rows = page.getByRole('row');

Expand All @@ -50,13 +49,6 @@ async function testFiltering(page) {
await deselect(tagFilter);
await expect(rows).toHaveCount(16);

await selectSlimSelect(page, inputTypeFilter, '3D');
await expect(rows).toHaveCount(3);
await expect(page.getByRole('row', { name: 'MIP_compound' })).toBeVisible();

await deselect(inputTypeFilter);
await expect(rows).toHaveCount(16);

await search(page, 'mip', 'MIP_compound'); // search by task_name
await search(page, 'deep', 'cellpose_segmentation'); // search by tag
await search(page, 'my_type', 'generic_task_parallel'); // search by input type
Expand Down

0 comments on commit de7a085

Please sign in to comment.