-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat(ci)/auto-update-package-lock
- Loading branch information
Showing
45 changed files
with
394 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-16.1 KB
(96%)
...xplorer-page.spec.ts-snapshots/should-display-explorer-page-1-Firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+25.4 KB
(110%)
...r-page.spec.ts-snapshots/should-display-explorer-page-1-Google-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+22.8 KB
(110%)
...xplorer-page.spec.ts-snapshots/should-display-explorer-page-1-Pixel-5-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+11.3 KB
(100%)
...xplorer-page.spec.ts-snapshots/should-display-explorer-page-1-Safari-darwin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+17 KB
(100%)
...orer-page.spec.ts-snapshots/should-display-explorer-page-1-iPhone-SE-darwin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { testWithII } from '@dfinity/internet-identity-playwright'; | ||
import { expect } from '@playwright/test'; | ||
import { TRANSACTIONS_URL } from './utils/constants/e2e.constants'; | ||
import { HomepageLoggedIn } from './utils/pages/homepage.page'; | ||
import { TransactionsPage } from './utils/pages/transactions.page'; | ||
|
||
testWithII( | ||
'should be redirected to home if not network is provided to access transactions', | ||
async ({ page, iiPage }) => { | ||
// We load the transaction page for ICP. This way we know ICP is supported. | ||
const transactionsPage = new TransactionsPage({ | ||
page, | ||
iiPage, | ||
tokenSymbol: 'ICP', | ||
networkId: 'ICP' | ||
}); | ||
|
||
await transactionsPage.waitForReady(); | ||
|
||
// We go to transactions without network | ||
await page.goto(`${TRANSACTIONS_URL}/?token=Internet%20Computer`); | ||
|
||
// We should be redirected to the home screen. | ||
const homepageLoggedIn = new HomepageLoggedIn({ page, iiPage }); | ||
|
||
await homepageLoggedIn.waitForContentReady(); | ||
|
||
await expect(page).toHaveScreenshot({ fullPage: true }); | ||
} | ||
); |
Binary file added
BIN
+166 KB
...d-to-home-if-not-network-is-provided-to-access-transactions-1-Firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+130 KB
...ome-if-not-network-is-provided-to-access-transactions-1-Google-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+78.1 KB
...d-to-home-if-not-network-is-provided-to-access-transactions-1-Pixel-5-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+216 KB
...d-to-home-if-not-network-is-provided-to-access-transactions-1-Safari-darwin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+123 KB
...o-home-if-not-network-is-provided-to-access-transactions-1-iPhone-SE-darwin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+96 Bytes
(100%)
...ettings-page.spec.ts-snapshots/should-display-settings-page-1-Firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-25 Bytes
(100%)
...s-page.spec.ts-snapshots/should-display-settings-page-1-Google-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-39 Bytes
(100%)
...ettings-page.spec.ts-snapshots/should-display-settings-page-1-Pixel-5-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+60 Bytes
(100%)
...ettings-page.spec.ts-snapshots/should-display-settings-page-1-Safari-darwin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+90 Bytes
(100%)
...ings-page.spec.ts-snapshots/should-display-settings-page-1-iPhone-SE-darwin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[toolchain] | ||
channel = "1.84.0" | ||
channel = "1.84.1" | ||
targets = ["wasm32-unknown-unknown"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 0 additions & 33 deletions
33
src/frontend/src/btc/components/convert/BtcConvertFeeTotal.svelte
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import type { IcrcCustomToken } from '$icp/types/icrc-custom-token'; | ||
import type { UserTokenState } from '$lib/types/token-toggleable'; | ||
|
||
export type CustomTokenNetworkKeys = 'Icrc'; | ||
|
||
export type IcrcSaveCustomToken = Pick<IcrcCustomToken, 'ledgerCanisterId' | 'indexCanisterId'>; | ||
|
||
export type SaveCustomToken = UserTokenState & IcrcSaveCustomToken; | ||
|
||
export type SaveCustomTokenWithKey = UserTokenState & | ||
(IcrcSaveCustomToken & { | ||
networkKey: Extract<CustomTokenNetworkKeys, 'Icrc'>; | ||
}); |
Oops, something went wrong.