mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
[web] update e2e tests to look for new strings (#23425)
GitOrigin-RevId: 62c513369adcd003db0aac6a3777eb0a98bf3289
This commit is contained in:
@@ -148,7 +148,7 @@ describe('git-bridge', function () {
|
||||
shareProjectByEmailAndAcceptInviteViaDash(
|
||||
projectName,
|
||||
'collaborator-ro@example.com',
|
||||
'Read only'
|
||||
'Can view'
|
||||
)
|
||||
maybeClearAllTokens()
|
||||
cy.visit('/project')
|
||||
@@ -162,7 +162,7 @@ describe('git-bridge', function () {
|
||||
maybeClearAllTokens()
|
||||
cy.visit(linkSharingReadAndWrite)
|
||||
cy.findByText(projectName) // wait for lazy loading
|
||||
cy.findByText('Join Project').click()
|
||||
cy.findByText('OK, join project').click()
|
||||
checkGitAccess('readAndWrite')
|
||||
})
|
||||
})
|
||||
@@ -173,7 +173,7 @@ describe('git-bridge', function () {
|
||||
maybeClearAllTokens()
|
||||
cy.visit(linkSharingReadOnly)
|
||||
cy.findByText(projectName) // wait for lazy loading
|
||||
cy.findByText('Join Project').click()
|
||||
cy.findByText('OK, join project').click()
|
||||
checkGitAccess('readOnly')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user