Skip to content

Commit 2781e50

Browse files
committed
Tests changes
1 parent a5071c7 commit 2781e50

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/v2/run_workflow_type_filters_priority.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ test('Type filters priority in run workflow modal', async ({ page, workflow }) =
7171
await test.step('Click Run and check error message', async () => {
7272
await modal.getByRole('button', { name: 'Run' }).click();
7373
await expect(
74-
page.getByText('Image list includes multiple values for the following types:')
74+
page.getByText(/You are trying to run a workflow without specifying what type/)
7575
).toBeVisible();
7676
});
7777

tests/v2/workflow_task_runs.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ test('Workflow task runs', async ({ page, workflow }) => {
5757
await modal.getByRole('button', { name: '2' }).click();
5858
await expect(modal.getByRole('row')).toHaveCount(7);
5959
await modal.getByRole('button', { name: 'Logs' }).last().click();
60-
await expect(modal.getByText('START cellpose_segmentation task')).toBeVisible();
60+
await expect(modal.getByText("Logs for task 'cellpose_segmentation'")).toBeVisible();
6161
await modal.getByRole('button', { name: 'Back' }).click();
6262
await expect(modal.getByRole('row')).toHaveCount(7);
6363
await modal.getByRole('button', { name: 'Close' }).click();
@@ -159,8 +159,8 @@ test('Workflow task runs', async ({ page, workflow }) => {
159159
.first()
160160
.getByRole('button', { name: 'Logs' })
161161
.click();
162-
await expect(modal.getByText(/click here to expand/)).toBeVisible();
163-
await expect(modal.getByText('Error in create_cellvoyager_ome_zarr')).toBeVisible();
162+
await expect(modal.locator('.expandable-log')).toBeVisible();
163+
await expect(page.getByText("Logs for task 'create_ome_zarr_compound'")).toBeVisible();
164164
await modal.getByRole('button', { name: 'Close' }).click();
165165
await waitModalClosed(page);
166166
});

0 commit comments

Comments
 (0)