refactor(editor): Switch to plan change URL on cloud (no-changelog) (#6001)

* 🚚 Switch to plan change URL on cloud

* 🧪 Update URL in test
This commit is contained in:
Iván Ovejero 2023-04-24 10:42:03 +02:00 committed by GitHub
parent 9c94050deb
commit 4bd55f7a1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1684,7 +1684,7 @@
"contextual.communityNodes.unavailable.button.desktop": "View plans", "contextual.communityNodes.unavailable.button.desktop": "View plans",
"contextual.upgradeLinkUrl": "https://subscription.n8n.io/", "contextual.upgradeLinkUrl": "https://subscription.n8n.io/",
"contextual.upgradeLinkUrl.cloud": "https://app.n8n.cloud/manage?edition=cloud", "contextual.upgradeLinkUrl.cloud": "https://app.n8n.cloud/account/change-plan",
"contextual.upgradeLinkUrl.desktop": "https://n8n.io/pricing/?utm_source=n8n-internal&utm_medium=desktop", "contextual.upgradeLinkUrl.desktop": "https://n8n.io/pricing/?utm_source=n8n-internal&utm_medium=desktop",
"settings.ldap": "LDAP", "settings.ldap": "LDAP",

View file

@ -30,7 +30,7 @@ describe('UI store', () => {
'production', 'production',
'https://n8n.io/pricing/?utm_source=n8n-internal&utm_medium=desktop&utm_campaign=utm-test-campaign', 'https://n8n.io/pricing/?utm_source=n8n-internal&utm_medium=desktop&utm_campaign=utm-test-campaign',
], ],
['cloud', 'production', 'https://app.n8n.cloud/manage?edition=cloud'], ['cloud', 'production', 'https://app.n8n.cloud/account/change-plan'],
])( ])(
'"upgradeLinkUrl" should generate the correct URL for "%s" deployment and "%s" license environment', '"upgradeLinkUrl" should generate the correct URL for "%s" deployment and "%s" license environment',
(type, environment, expectation) => { (type, environment, expectation) => {