mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #24739 from overleaf/dk-thankyou-page
Update "thanks for subscribing page" with AI Assist links GitOrigin-RevId: 41a23d6fd5edfc8f9ad0f97e513e1ea66aed5bdc
This commit is contained in:
committed by
Copybot
parent
fb0cfbe0bb
commit
443fb3f152
+2
-2
@@ -32,7 +32,7 @@ describe('<SubscriptionDashboard />', function () {
|
||||
})
|
||||
|
||||
it('renders the "Get the most from your subscription" text', function () {
|
||||
screen.getByText(/get the most from your Overleaf subscription/i)
|
||||
screen.getByText(/Get the most out of your subscription/i)
|
||||
})
|
||||
})
|
||||
|
||||
@@ -42,7 +42,7 @@ describe('<SubscriptionDashboard />', function () {
|
||||
})
|
||||
|
||||
it('does not render the "Get the most out of your" subscription text', function () {
|
||||
const text = screen.queryByText('Get the most out of your', {
|
||||
const text = screen.queryByText('Get the most out of your subscription', {
|
||||
exact: false,
|
||||
})
|
||||
expect(text).to.be.null
|
||||
|
||||
+3
-3
@@ -43,8 +43,8 @@ describe('successful subscription page', function () {
|
||||
screen.getByText(
|
||||
/it’s support from people like yourself that allows .* to continue to grow and improve/i
|
||||
)
|
||||
expect(screen.getByText(/get the most from your/i).textContent).to.match(
|
||||
/get the most from your .* subscription\. discover premium features/i
|
||||
expect(screen.getByText(/get the most out of your/i).textContent).to.match(
|
||||
/get the most out of your subscription by checking out Overleaf’s features/i
|
||||
)
|
||||
expect(
|
||||
screen
|
||||
@@ -73,7 +73,7 @@ describe('successful subscription page', function () {
|
||||
)
|
||||
|
||||
const helpLink = screen.getByRole('link', {
|
||||
name: /discover premium features/i,
|
||||
name: /Overleaf’s features/i,
|
||||
})
|
||||
expect(helpLink.getAttribute('href')).to.equal(
|
||||
'/learn/how-to/Overleaf_premium_features'
|
||||
|
||||
Reference in New Issue
Block a user