Skip to content

Commit

Permalink
fix: update failing support test link
Browse files Browse the repository at this point in the history
  • Loading branch information
314159265359879 authored and kyranjamie committed Oct 25, 2024
1 parent bdabd61 commit a1d8a7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
6 changes: 1 addition & 5 deletions src/app/features/errors/app-error-boundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@ function ErroBoundaryBody() {
textStyle="label.02"
>
Leather has crashed. If this problem persists, contact our{' '}
<Link
href="https://leather.gitbook.io/guides/installing/contact-support"
target="_blank"
textDecoration="underline"
>
<Link href="https://leather.io/support" target="_blank" textDecoration="underline">
<styled.span
data-testid={SharedComponentsSelectors.BroadcastErrorTitle}
textStyle="label.02"
Expand Down
2 changes: 1 addition & 1 deletion src/app/features/settings/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export function Settings({
<DropdownMenu.Item
data-testid={SettingsSelectors.GetSupportMenuItem}
onSelect={() => {
openInNewTab('https://leather.gitbook.io/guides/installing/contact-support');
openInNewTab('https://leather.io/support');
}}
>
<Flag img={<SupportIcon />} textStyle="label.02">
Expand Down
4 changes: 1 addition & 3 deletions tests/specs/settings/settings.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ test.describe('Settings menu', () => {
page.getByTestId(SettingsSelectors.GetSupportMenuItem).click(),
]);

await test
.expect(supportPage)
.toHaveURL('https://leather.gitbook.io/guides/installing/contact-support');
await test.expect(supportPage).toHaveURL('https://leather.io/contact');
});

test('that menu item can perform sign out', async ({ homePage, onboardingPage }) => {
Expand Down

0 comments on commit a1d8a7f

Please sign in to comment.