diff --git a/frontend/tests/functional/user-route.test.ts b/frontend/tests/functional/user-route.test.ts index 96227bab7..e854eb00f 100644 --- a/frontend/tests/functional/user-route.test.ts +++ b/frontend/tests/functional/user-route.test.ts @@ -76,7 +76,7 @@ test('user usual routine actions are working correctly', async ({ await sideBar.click('Compliance', pages.frameworksPage.url); await expect(page).toHaveURL(pages.frameworksPage.url); - await expect(page.getByRole('row', { name: vars.framework.ref })).toBeVisible(); + await expect(page.getByRole('row', { name: vars.framework.name })).toBeVisible(); }); await test.step('user can create a security function', async () => {