mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #19631 from overleaf/jpa-e2e-emails
[server-pro] add e2e test for accepting project invite via email GitOrigin-RevId: c8391b57c1ee882499cfe5dc02817b5fadcd7ff4
This commit is contained in:
@@ -4,7 +4,7 @@ import { ensureUserExists, login } from './helpers/login'
|
||||
import {
|
||||
createProject,
|
||||
enableLinkSharing,
|
||||
shareProjectByEmailAndAcceptInvite,
|
||||
shareProjectByEmailAndAcceptInviteViaDash,
|
||||
} from './helpers/project'
|
||||
|
||||
import git from 'isomorphic-git'
|
||||
@@ -134,7 +134,7 @@ describe('git-bridge', function () {
|
||||
})
|
||||
|
||||
it('should expose r/w interface to invited r/w collaborator', () => {
|
||||
shareProjectByEmailAndAcceptInvite(
|
||||
shareProjectByEmailAndAcceptInviteViaDash(
|
||||
projectName,
|
||||
'collaborator-rw@example.com',
|
||||
'Can edit'
|
||||
@@ -146,7 +146,7 @@ describe('git-bridge', function () {
|
||||
})
|
||||
|
||||
it('should expose r/o interface to invited r/o collaborator', () => {
|
||||
shareProjectByEmailAndAcceptInvite(
|
||||
shareProjectByEmailAndAcceptInviteViaDash(
|
||||
projectName,
|
||||
'collaborator-ro@example.com',
|
||||
'Read only'
|
||||
|
||||
Reference in New Issue
Block a user