Skip to content

Commit

Permalink
Merge pull request #5924 from leather-io/release/hiro-rpm
Browse files Browse the repository at this point in the history
Release/hiro rpm
  • Loading branch information
alter-eggo authored Oct 28, 2024
2 parents 57eb5af + 6d18460 commit d1105e6
Show file tree
Hide file tree
Showing 7 changed files with 107 additions and 37 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
"@leather.io/constants": "0.12.5",
"@leather.io/crypto": "1.6.6",
"@leather.io/models": "0.18.2",
"@leather.io/query": "2.16.0",
"@leather.io/query": "2.17.0",
"@leather.io/stacks": "1.2.3",
"@leather.io/tokens": "0.9.1",
"@leather.io/ui": "1.30.0",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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
118 changes: 96 additions & 22 deletions tests/mocks/mock-stacks-txs.ts

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions tests/specs/ledger/ledger.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { TEST_ACCOUNT_1_STX_ADDRESS } from '@tests/mocks/constants';
import { mockMainnetTestAccountStacksConfirmedTxsRequests } from '@tests/mocks/mock-stacks-txs';
import type { HomePage } from '@tests/page-object-models/home.page';
import { makeLedgerTestAccountWalletState } from '@tests/page-object-models/onboarding.page';
import { SettingsSelectors } from '@tests/selectors/settings.selectors';
Expand All @@ -24,6 +25,7 @@ test.describe('App with Ledger', () => {
test.beforeEach(async ({ extensionId, globalPage, onboardingPage }) => {
await globalPage.setupAndUseApiCalls(extensionId);
await onboardingPage.signInWithLedgerAccount(extensionId, state);
await mockMainnetTestAccountStacksConfirmedTxsRequests(globalPage.page);
});

test('that homepage renders correctly', async ({ homePage }) => {
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 d1105e6

Please sign in to comment.