* Update Compile timeout copy * Update Collaborator limit copy * Update Track changes copy * Update History copy and "Start free trial" button * Remove unnecessary children passed to StartFreeTrialButton * Update Dropbox copy * Update Github copy * Update Git copy * Update Reference managers copy * Update Symbol palette copy * Update Onboarding prompt copy * Update Subscriptions page (on free account) copy * `bin/run web npm run extract-translations` * Add split-test assignment in subscription page * Fix tests * Update services/web/modules/symbol-palette/frontend/js/components/symbol-palette-overlay.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update services/web/modules/onboarding/app/views/onboarding/try_premium.pug Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update services/web/modules/onboarding/app/views/onboarding/try_premium.pug Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Replace `Github` to `GitHub` in translations * Update "non Overleaf" to "non-Overleaf" --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> GitOrigin-RevId: 56ee2735899de18f820b229bc226249322ac0c87
23 lines
591 B
TypeScript
23 lines
591 B
TypeScript
import { render, screen } from '@testing-library/react'
|
|
import FreePlan from '../../../../../../frontend/js/features/subscription/components/dashboard/free-plan'
|
|
import { SplitTestProvider } from '@/shared/context/split-test-context'
|
|
|
|
describe('<FreePlan />', function () {
|
|
it('renders free plan dash', function () {
|
|
render(
|
|
<SplitTestProvider>
|
|
<FreePlan />
|
|
</SplitTestProvider>
|
|
)
|
|
|
|
screen.getByText(
|
|
'You are on the Overleaf Free plan. Upgrade to access these',
|
|
{
|
|
exact: false,
|
|
}
|
|
)
|
|
|
|
screen.getByText('Upgrade now')
|
|
})
|
|
})
|