Merge pull request #7750 from overleaf/ta-settings-fixes-2
[SettingsPage] Small Fixes 2 GitOrigin-RevId: fe29b5a97cac4e92f6458e2359569d6c080b626b
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ describe('<IntegrationLinkingWidgetTest/>', function () {
|
||||
it('should render a link to upgrade the account', function () {
|
||||
expect(
|
||||
screen.getByRole('link', { name: 'Upgrade' }).getAttribute('href')
|
||||
).to.equal('user/subscription/plans')
|
||||
).to.equal('/user/subscription/plans')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ describe('<SSOLinkingWidget />', function () {
|
||||
title: 'integration',
|
||||
description: 'integration description',
|
||||
helpPath: '/help/integration',
|
||||
linkPath: 'integration/link',
|
||||
linkPath: '/integration/link',
|
||||
onUnlink: () => Promise.resolve(),
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ describe('<SSOLinkingWidget />', function () {
|
||||
render(<SSOLinkingWidget {...defaultProps} linked={false} />)
|
||||
expect(
|
||||
screen.getByRole('link', { name: 'Link' }).getAttribute('href')
|
||||
).to.equal('integration/link')
|
||||
).to.equal('/integration/link?intent=link')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user