diff --git a/packages/keychain/.storybook/test-runner.ts b/packages/keychain/.storybook/test-runner.ts index 76a2d3c13..8b1a54e7e 100644 --- a/packages/keychain/.storybook/test-runner.ts +++ b/packages/keychain/.storybook/test-runner.ts @@ -18,7 +18,8 @@ const config: TestRunnerConfig = { // Get the story's container element - selecting the nested content div const storyContainer = await page.$("#storybook-root > div > div"); if (!storyContainer) { - throw new Error("Could not find story content element"); + console.warn("Could not find story content element"); + return; } // Get browser name to handle different browsers if needed diff --git a/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--default-chromium.png b/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--default-chromium.png index 0eff504f5..e2f4063d1 100644 Binary files a/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--default-chromium.png and b/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--default-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-generic-error-chromium.png b/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-generic-error-chromium.png index 42f88860b..47fa09f35 100644 Binary files a/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-generic-error-chromium.png and b/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-generic-error-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-light-mode-chromium.png b/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-light-mode-chromium.png index 0eff504f5..e2f4063d1 100644 Binary files a/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-light-mode-chromium.png and b/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-light-mode-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-theme-chromium.png b/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-theme-chromium.png index df0fb6de7..061a7b18f 100644 Binary files a/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-theme-chromium.png and b/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-theme-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-timeout-error-chromium.png b/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-timeout-error-chromium.png index c719da4ee..1ff2e2da1 100644 Binary files a/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-timeout-error-chromium.png and b/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-timeout-error-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-validation-error-chromium.png b/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-validation-error-chromium.png index a3d41f9f6..084538f95 100644 Binary files a/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-validation-error-chromium.png and b/packages/keychain/__image_snapshots__/components-connect-create-createcontroller--with-validation-error-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-connect-createsession--default-chromium.png b/packages/keychain/__image_snapshots__/components-connect-createsession--default-chromium.png index 24ee0827a..dd8bf67dc 100644 Binary files a/packages/keychain/__image_snapshots__/components-connect-createsession--default-chromium.png and b/packages/keychain/__image_snapshots__/components-connect-createsession--default-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-connect-createsession--with-preset-chromium.png b/packages/keychain/__image_snapshots__/components-connect-createsession--with-preset-chromium.png index 9c98d3ad4..94e6316e8 100644 Binary files a/packages/keychain/__image_snapshots__/components-connect-createsession--with-preset-chromium.png and b/packages/keychain/__image_snapshots__/components-connect-createsession--with-preset-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-connect-sessionconsent--default-chromium.png b/packages/keychain/__image_snapshots__/components-connect-sessionconsent--default-chromium.png new file mode 100644 index 000000000..189eea551 Binary files /dev/null and b/packages/keychain/__image_snapshots__/components-connect-sessionconsent--default-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-controllererroralert--all-chromium.png b/packages/keychain/__image_snapshots__/components-controllererroralert--all-chromium.png index 477b82fb5..8c6cc7a6e 100644 Binary files a/packages/keychain/__image_snapshots__/components-controllererroralert--all-chromium.png and b/packages/keychain/__image_snapshots__/components-controllererroralert--all-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-errorpage--default-chromium.png b/packages/keychain/__image_snapshots__/components-errorpage--default-chromium.png index 8fc41de16..be5dae80c 100644 Binary files a/packages/keychain/__image_snapshots__/components-errorpage--default-chromium.png and b/packages/keychain/__image_snapshots__/components-errorpage--default-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-errorpage--long-error-chromium.png b/packages/keychain/__image_snapshots__/components-errorpage--long-error-chromium.png index 69163a220..f8b02469e 100644 Binary files a/packages/keychain/__image_snapshots__/components-errorpage--long-error-chromium.png and b/packages/keychain/__image_snapshots__/components-errorpage--long-error-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-funding-amountselection--default-chromium.png b/packages/keychain/__image_snapshots__/components-funding-amountselection--default-chromium.png new file mode 100644 index 000000000..f4b2fe918 Binary files /dev/null and b/packages/keychain/__image_snapshots__/components-funding-amountselection--default-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-funding-depositeth--default-chromium.png b/packages/keychain/__image_snapshots__/components-funding-depositeth--default-chromium.png new file mode 100644 index 000000000..85a311931 Binary files /dev/null and b/packages/keychain/__image_snapshots__/components-funding-depositeth--default-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-funding-purchasecredits--default-chromium.png b/packages/keychain/__image_snapshots__/components-funding-purchasecredits--default-chromium.png new file mode 100644 index 000000000..94a503a76 Binary files /dev/null and b/packages/keychain/__image_snapshots__/components-funding-purchasecredits--default-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-settings-delegate--default-chromium.png b/packages/keychain/__image_snapshots__/components-settings-delegate--default-chromium.png new file mode 100644 index 000000000..d74fe8ac2 Binary files /dev/null and b/packages/keychain/__image_snapshots__/components-settings-delegate--default-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-settings-recovery--default-chromium.png b/packages/keychain/__image_snapshots__/components-settings-recovery--default-chromium.png new file mode 100644 index 000000000..04cb65629 Binary files /dev/null and b/packages/keychain/__image_snapshots__/components-settings-recovery--default-chromium.png differ diff --git a/packages/keychain/__image_snapshots__/components-signmessage--default-chromium.png b/packages/keychain/__image_snapshots__/components-signmessage--default-chromium.png new file mode 100644 index 000000000..94e9f2844 Binary files /dev/null and b/packages/keychain/__image_snapshots__/components-signmessage--default-chromium.png differ diff --git a/packages/keychain/src/components/Funding/PurchaseCredits.tsx b/packages/keychain/src/components/Funding/PurchaseCredits.tsx index c5ef1be2c..4cf267d82 100644 --- a/packages/keychain/src/components/Funding/PurchaseCredits.tsx +++ b/packages/keychain/src/components/Funding/PurchaseCredits.tsx @@ -134,9 +134,9 @@ export function PurchaseCredits({ onBack }: PurchaseCreditsProps) { @@ -166,8 +166,7 @@ export function PurchaseCredits({ onBack }: PurchaseCreditsProps) { )} diff --git a/packages/keychain/src/components/connect/CreateSession.tsx b/packages/keychain/src/components/connect/CreateSession.tsx index 4d2784312..865dd7101 100644 --- a/packages/keychain/src/components/connect/CreateSession.tsx +++ b/packages/keychain/src/components/connect/CreateSession.tsx @@ -170,7 +170,7 @@ export function CreateSession({ {!policies?.verified && (
!isConnecting && setIsConsent(!isConsent)} > ( -
+
By continuing you are agreeing to Cartridge's{" "} diff --git a/packages/keychain/src/components/connect/create/StatusTray.tsx b/packages/keychain/src/components/connect/create/StatusTray.tsx index 0edddc617..abb3a0d7f 100644 --- a/packages/keychain/src/components/connect/create/StatusTray.tsx +++ b/packages/keychain/src/components/connect/create/StatusTray.tsx @@ -35,7 +35,7 @@ export function StatusTray({ username, validation, error }: StatusTrayProps) { >