diff --git a/src/frontend/e2e/02-mapper-flow.spec.ts b/src/frontend/e2e/02-mapper-flow.spec.ts index 031fcf29f9..7ad4450089 100644 --- a/src/frontend/e2e/02-mapper-flow.spec.ts +++ b/src/frontend/e2e/02-mapper-flow.spec.ts @@ -32,8 +32,8 @@ test.describe('mapper flow', () => { }); // 2. Lock task for mapping - await expect(page.getByRole('button', { name: 'START MAPPING' })).toBeVisible(); - await page.getByRole('button', { name: 'START MAPPING' }).click(); + await expect(page.getByTestId('StartMapping')).toBeVisible(); + await page.getByTestId('StartMapping').click(); await page.waitForSelector('div:has-text("updated to LOCKED_FOR_MAPPING"):nth-of-type(1)'); await expect( page @@ -114,7 +114,7 @@ test.describe('mapper flow', () => { }, }); await expect(page.getByText('Status: UNLOCKED_TO_MAP')).toBeVisible(); - await expect(page.getByRole('button', { name: 'START MAPPING' })).toBeVisible(); + await expect(page.getByTestId('StartMapping')).toBeVisible(); // 2. Click on a specific feature / Entity within a task // assert feature popup visibility diff --git a/src/frontend/src/components/DialogTaskActions.tsx b/src/frontend/src/components/DialogTaskActions.tsx index e44b203134..a81d211feb 100755 --- a/src/frontend/src/components/DialogTaskActions.tsx +++ b/src/frontend/src/components/DialogTaskActions.tsx @@ -184,6 +184,7 @@ export default function Dialog({ taskId, feature }: dialogPropType) { return list_of_task_actions?.length != 0 ? (