diff --git a/server-ce/test/project-sharing.spec.ts b/server-ce/test/project-sharing.spec.ts index 98e23ea0a2..63318e9b31 100644 --- a/server-ce/test/project-sharing.spec.ts +++ b/server-ce/test/project-sharing.spec.ts @@ -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') @@ -177,7 +177,7 @@ describe('Project Sharing', function () { ensureUserExists({ email }) beforeWithReRunOnTestRetry(function () { - shareProjectByEmailAndAcceptInvite(email, 'Read Only') + shareProjectByEmailAndAcceptInvite(email, 'Read only') }) it('should grant the collaborator read access', () => { diff --git a/services/web/locales/en.json b/services/web/locales/en.json index ba7f9e0e1b..3a73ca3950 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1512,7 +1512,7 @@ "read_lines_from_path": "Read lines from __path__", "read_more": "Read more", "read_more_about_free_compile_timeouts_servers": "Read more about changes to free compile timeouts and servers", - "read_only": "Read Only", + "read_only": "Read only", "read_only_token": "Read-Only Token", "read_write_token": "Read-Write Token", "ready_to_join_x": "You’re ready to join __inviterName__", diff --git a/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.jsx b/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.jsx index 747a21f1f7..c6e2f56664 100644 --- a/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.jsx +++ b/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.jsx @@ -457,7 +457,7 @@ describe('', function () { expect(screen.queryAllByText('member-viewer@example.com')).to.have.length(1) - const select = screen.getByDisplayValue('Read Only') + const select = screen.getByDisplayValue('Read only') await fireEvent.change(select, { target: { value: 'readAndWrite' } }) const changeButton = screen.getByRole('button', { name: 'Change' }) @@ -534,7 +534,7 @@ describe('', function () { expect(screen.queryAllByText('member-viewer@example.com')).to.have.length(1) - const select = screen.getByDisplayValue('Read Only') + const select = screen.getByDisplayValue('Read only') fireEvent.change(select, { target: { value: 'owner' } }) const changeButton = screen.getByRole('button', { name: 'Change' })