From efb5fc63d73af2d48c1aff5f04d918741285161a Mon Sep 17 00:00:00 2001 From: Dmitry S Date: Mon, 7 Aug 2023 22:52:17 -0400 Subject: [PATCH] (core) Change the label/nickname of the paid plan to Pro Summary: This is to match the pricing page, and to reduce confusion. The same change was made to the description of the corresponding "pricing" object on Stripe. The Stripe value is what's used in practice; this value is actually only used as a fallback. Test Plan: The code change does not affect tests, but several tests fixed after grist-core merge. Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3990 --- app/common/Features.ts | 2 +- test/nbrowser/gristUtils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/Features.ts b/app/common/Features.ts index 89b3e215..73fe1293 100644 --- a/app/common/Features.ts +++ b/app/common/Features.ts @@ -83,7 +83,7 @@ export const displayPlanName: { [key: string]: string } = { [PERSONAL_LEGACY_PLAN]: 'Free Personal (Legacy)', [PERSONAL_FREE_PLAN]: 'Free Personal', [TEAM_FREE_PLAN]: 'Team Free', - [TEAM_PLAN]: 'Team' + [TEAM_PLAN]: 'Pro' } as const; // Returns true if `planName` is for a personal product. diff --git a/test/nbrowser/gristUtils.ts b/test/nbrowser/gristUtils.ts index 36285ac5..924668ea 100644 --- a/test/nbrowser/gristUtils.ts +++ b/test/nbrowser/gristUtils.ts @@ -2223,7 +2223,7 @@ export async function assertHeaderFillColor(col: string, color: string) { export function openCellColorPicker(nr?: number) { if (nr !== undefined) { return driver - .find(`.test-widget-style-conditional-rule-${nr} .test-cell-color-select .test-color-select`) + .find(`.test-widget-style-conditional-rule-${nr} .test-color-select`) .click(); } return driver.find('.test-cell-color-select .test-color-select').click();