Merge pull request #31827 from overleaf/ii-project-sharing-access-denied

[web] Project sharing access denied redesign

GitOrigin-RevId: b1e3016eb7ef9e2a502e0b67abc3b10c08531fe9
This commit is contained in:
ilkin-overleaf
2026-03-19 09:06:31 +00:00
committed by Copybot
parent 79cb219ad9
commit d61413e57d
14 changed files with 494 additions and 139 deletions
@@ -79,10 +79,16 @@ describe('<TokenAccessPage/>', function () {
cy.wait('@grantRequest')
cy.get('h3').should('have.text', 'Join Project')
cy.get('h4').should('have.text', 'Project not found')
cy.findByRole('heading', { name: /sorry, this project isn’t available/i })
cy.findByText(/the link may be broken or you may not have access rights/i)
cy.findByRole('button', { name: 'Join Project' }).should('not.exist')
cy.contains(
new RegExp(
'you are currently logged in as test@example.com. ' +
'you might need to log in with a different email address',
'i'
)
)
})
it('handles a redirect response', function () {