mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
change "admin" to "project-owner" in test file description and comments
GitOrigin-RevId: f99231359ebd20d14aec8ca08d4cb9780abfb915
This commit is contained in:
parent
ce352bba4e
commit
114b275e3b
1 changed files with 4 additions and 4 deletions
|
@ -175,7 +175,7 @@ describe('<ShareProjectModal/>', function () {
|
|||
await screen.findByRole('button', { name: 'Make Private' })
|
||||
})
|
||||
|
||||
it('hides actions from non-admins', async function () {
|
||||
it('hides actions from non-project-owners', async function () {
|
||||
const invites = [
|
||||
{
|
||||
_id: 'invited-author',
|
||||
|
@ -184,7 +184,7 @@ describe('<ShareProjectModal/>', function () {
|
|||
},
|
||||
]
|
||||
|
||||
// render as admin: actions should be present
|
||||
// render as project owner: actions should be present
|
||||
render(
|
||||
<EditorProviders
|
||||
scope={{
|
||||
|
@ -202,7 +202,7 @@ describe('<ShareProjectModal/>', function () {
|
|||
await screen.findByRole('button', { name: 'Turn off link sharing' })
|
||||
await screen.findByRole('button', { name: 'Resend' })
|
||||
|
||||
// render as non-admin (non-owner), link sharing on: actions should be missing and message should be present
|
||||
// render as non-project-owner, link sharing on: actions should be missing and message should be present
|
||||
render(
|
||||
<EditorProviders
|
||||
scope={{
|
||||
|
@ -227,7 +227,7 @@ describe('<ShareProjectModal/>', function () {
|
|||
.null
|
||||
expect(screen.queryByRole('button', { name: 'Resend' })).to.be.null
|
||||
|
||||
// render as non-admin (non-owner), link sharing off: actions should be missing and message should be present
|
||||
// render as non-project-owner, link sharing off: actions should be missing and message should be present
|
||||
render(
|
||||
<EditorProviders
|
||||
scope={{
|
||||
|
|
Loading…
Reference in a new issue