mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
Merge pull request #19227 from overleaf/jpa-sharing-fix
[server-ce] keep up with renaming of button in the share modal GitOrigin-RevId: e08593078e3789832400884c0b2c04b94f15c837
This commit is contained in:
parent
30a64401b2
commit
6c2a5a43d7
1 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ describe('Project Sharing', function () {
|
|||
|
||||
function shareProjectByEmailAndAcceptInvite(
|
||||
email: string,
|
||||
level: 'Read Only' | 'Can Edit'
|
||||
level: 'Read Only' | 'Can edit'
|
||||
) {
|
||||
login('user@example.com')
|
||||
cy.visit('/project')
|
||||
|
@ -63,7 +63,7 @@ describe('Project Sharing', function () {
|
|||
cy.get('input').type(`${email},`)
|
||||
cy.get('input')
|
||||
.parents('form')
|
||||
.within(() => cy.findByText('Can Edit').parent().select(level))
|
||||
.within(() => cy.findByText('Can edit').parent().select(level))
|
||||
cy.findByText('Share').click({ force: true })
|
||||
})
|
||||
|
||||
|
@ -194,7 +194,7 @@ describe('Project Sharing', function () {
|
|||
ensureUserExists({ email })
|
||||
|
||||
beforeWithReRunOnTestRetry(function () {
|
||||
shareProjectByEmailAndAcceptInvite(email, 'Can Edit')
|
||||
shareProjectByEmailAndAcceptInvite(email, 'Can edit')
|
||||
})
|
||||
|
||||
it('should grant the collaborator write access', () => {
|
||||
|
|
Loading…
Reference in a new issue