Merge pull request #23464 from overleaf/ii-flexible-group-licensing-missing-billing-details-2

[web] Missing billing info billing details link

GitOrigin-RevId: a77f5d637848cc9ba5efa0941052ab5e10be16e4
This commit is contained in:
Liangjun Song
2025-02-07 11:42:27 +00:00
committed by Copybot
parent 4ab827bf0f
commit f3950e20a0
2 changed files with 9 additions and 2 deletions

View File

@@ -15,7 +15,10 @@ function MissingBillingInformation() {
i18nKey="it_looks_like_your_payment_details_are_missing_please_update_your_billing_information"
components={[
// eslint-disable-next-line jsx-a11y/anchor-has-content, react/jsx-key
<a href="/user/subscription" rel="noreferrer noopener" />,
<a
href="/user/subscription/recurly/billing-details"
rel="noreferrer noopener"
/>,
// eslint-disable-next-line jsx-a11y/anchor-has-content, react/jsx-key
<a href="/contact" rel="noreferrer noopener" />,
]}

View File

@@ -23,7 +23,11 @@ describe('<MissingBillingInformation />', function () {
).within(() => {
cy.findByRole('link', {
name: /update your billing information/i,
}).should('have.attr', 'href', '/user/subscription')
}).should(
'have.attr',
'href',
'/user/subscription/recurly/billing-details'
)
cy.findByRole('link', { name: /get in touch/i }).should(
'have.attr',
'href',