diff --git a/frontend/cypress/e2e/project/project-view-list.spec.ts b/frontend/cypress/e2e/project/project-view-list.spec.ts index eef7484ac..ecc2753c6 100644 --- a/frontend/cypress/e2e/project/project-view-list.spec.ts +++ b/frontend/cypress/e2e/project/project-view-list.spec.ts @@ -6,7 +6,7 @@ import {UserFactory} from '../../factories/user' import {ProjectFactory} from '../../factories/project' import {prepareProjects} from './prepareProjects' -describe('Project View Project', () => { +describe('Project View List', () => { createFakeUserAndLogin() prepareProjects() diff --git a/frontend/cypress/e2e/sharing/linkShare.spec.ts b/frontend/cypress/e2e/sharing/linkShare.spec.ts index 4b6963d6d..ffb6ea3a7 100644 --- a/frontend/cypress/e2e/sharing/linkShare.spec.ts +++ b/frontend/cypress/e2e/sharing/linkShare.spec.ts @@ -32,7 +32,7 @@ describe('Link shares', () => { cy.get('.tasks') .should('contain', tasks[0].title) - cy.url().should('contain', `/projects/${project.id}/list#share-auth-token=${share.hash}`) + cy.url().should('contain', `/projects/${project.id}/1#share-auth-token=${share.hash}`) }) it('Should work when directly viewing a project with share hash present', () => { diff --git a/frontend/src/views/sharing/LinkSharingAuth.vue b/frontend/src/views/sharing/LinkSharingAuth.vue index b10daad40..e49b4ea1c 100644 --- a/frontend/src/views/sharing/LinkSharingAuth.vue +++ b/frontend/src/views/sharing/LinkSharingAuth.vue @@ -106,10 +106,9 @@ function useAuth() { } return router.push({ - name: 'project.view', + name: 'project.index', params: { projectId, - viewId: route.query.view, }, hash, })