Merge pull request #27995 from overleaf/slg-license-allocated-text-2

[web] change text for 1 license

GitOrigin-RevId: 4bb7527c39b587830aa40018f28c60abb3238ff0
This commit is contained in:
Simon Gardner
2025-08-19 12:36:43 +01:00
committed by Copybot
parent a5718b86b9
commit 4edaafe98e
2 changed files with 5 additions and 3 deletions

View File

@@ -2725,7 +2725,7 @@
"you_dont_have_any_repositories": "You dont have any repositories",
"you_have_0_free_suggestions_left": "You have 0 free suggestions left",
"you_have_1_free_suggestion_left": "You have 1 free suggestion left",
"you_have_1_license_and_your_plan_supports_up_to_y": "You have 1 license and your plan supports up to __groupSize__.",
"you_have_1_license_and_your_plan_supports_up_to_y": "You have allocated 1 license and your plan supports up to __groupSize__.",
"you_have_added_x_of_group_size_y": "You have added <0>__addedUsersSize__</0> of <1>__groupSize__</1> available members",
"you_have_been_invited_to_transfer_management_of_your_account": "You have been invited to transfer management of your account.",
"you_have_been_invited_to_transfer_management_of_your_account_to": "You have been invited to transfer management of your account to __groupName__.",

View File

@@ -555,7 +555,7 @@ describe('GroupMembers', function () {
)
cy.findByTestId('group-size-details').contains(
'You have 1 license and your plan supports up to 10. Buy more licenses.'
'You have allocated 1 license and your plan supports up to 10. Buy more licenses.'
)
})
@@ -572,7 +572,9 @@ describe('GroupMembers', function () {
)
cy.findByTestId('group-size-details').within(() => {
cy.findByText(/you have \d+ license and your plan supports up to \d+/i)
cy.findByText(
/you have allocated \d+ license and your plan supports up to \d+/i
)
cy.findByText(/buy more licenses/i).should('not.exist')
})
})