diff --git a/tests/wallets/index.html b/tests/wallets/index.html index 953c436c8..95f558c8e 100644 --- a/tests/wallets/index.html +++ b/tests/wallets/index.html @@ -176,7 +176,12 @@ .workspace-grid { display: grid; gap: 18px; - grid-template-columns: 320px minmax(0, 1fr); + } + + .primary-row { + display: grid; + gap: 18px; + grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } @@ -250,17 +255,65 @@ .native-select-wrap { position: relative; + border: 1px solid rgba(25, 54, 61, 0.14); + border-radius: 10px; + background: + linear-gradient( + 180deg, + rgba(255, 255, 255, 0.98) 0%, + rgba(247, 243, 236, 0.94) 100% + ); + box-shadow: + inset 0 1px 0 rgba(255, 255, 255, 0.9), + 0 6px 18px rgba(20, 30, 36, 0.04); + overflow: hidden; + transition: + border-color 0.18s ease, + box-shadow 0.18s ease, + transform 0.18s ease; + } + + .native-select-wrap::before { + content: ''; + position: absolute; + top: 6px; + right: 6px; + bottom: 6px; + width: 38px; + border-radius: 8px; + background: rgba(25, 54, 61, 0.06); + border: 1px solid rgba(25, 54, 61, 0.08); + pointer-events: none; } .native-select-wrap::after { - content: '▾'; + content: 'unfold_more'; position: absolute; - right: 14px; + right: 13px; top: 50%; transform: translateY(-50%); + font-family: 'Material Icons'; + font-feature-settings: 'liga'; + font-style: normal; + font-weight: 400; color: var(--studio-muted); pointer-events: none; - font-size: 0.95rem; + font-size: 1.2rem; + line-height: 1; + } + + .native-select-wrap:hover { + border-color: rgba(25, 54, 61, 0.2); + box-shadow: + inset 0 1px 0 rgba(255, 255, 255, 0.9), + 0 10px 24px rgba(20, 30, 36, 0.06); + } + + .native-select-wrap:focus-within { + border-color: rgba(25, 54, 61, 0.24); + box-shadow: + 0 0 0 3px rgba(25, 54, 61, 0.12), + inset 0 1px 0 rgba(255, 255, 255, 0.95); } .native-select-label { @@ -277,20 +330,26 @@ width: 100%; appearance: none; -webkit-appearance: none; - border: 1px solid rgba(25, 54, 61, 0.14); - border-radius: 10px; - background: rgba(255, 255, 255, 0.92); + -moz-appearance: none; + border: 0; + border-radius: 0; + background: transparent; + background-image: none; color: var(--studio-ink); - padding: 14px 42px 14px 14px; + padding: 14px 54px 14px 14px; font: inherit; font-size: 0.95rem; line-height: 1.35; - box-shadow: inset 0 1px 1px rgba(20, 30, 36, 0.04); + box-shadow: none; + cursor: pointer; } .native-select:focus { - outline: 2px solid rgba(25, 54, 61, 0.18); - border-color: rgba(25, 54, 61, 0.22); + outline: none; + } + + .native-select::-ms-expand { + display: none; } .native-input, @@ -874,12 +933,6 @@ display: none; } - @media (max-width: 1320px) { - .workspace-grid { - grid-template-columns: 300px minmax(0, 1fr); - } - } - @media (max-width: 1080px) { .hero-row { flex-direction: column; @@ -893,7 +946,7 @@ grid-template-columns: repeat(2, minmax(0, 1fr)); } - .workspace-grid { + .primary-row { grid-template-columns: 1fr; } @@ -967,6 +1020,24 @@ label="Load Both Files" @click="openBulkInput" > + + + @@ -1011,88 +1082,20 @@
{{ currentDataset.analysis.summary.expandedTests }}
+ + + {{ currentDataset.loadError }} +
-
- - -
-
-

Current Dataset

-
- {{ currentDatasetKindHelp }} -
-
- - {{ currentDataset.analysis ? 'Loaded' : 'Waiting' }} - -
- -
-
-
Fixture File
-
{{ currentDataset.fileName }}
-
-
-
Fixture Path
-
{{ currentDataset.relativePath }}
-
-
-
Pytest File
-
{{ currentDataset.testFile }}
-
-
-
Loaded From
-
- {{ currentDataset.sourceLabel || 'Not loaded yet' }} -
-
-
- - - {{ currentDataset.loadError }} - - -
- - - -
-
-
-
- -
+
@@ -1125,20 +1128,8 @@
-
- - {{ currentFundingSource.wallet_class }} - +
- funding_sources.{{ currentFundingSource.name }} - - - +
@@ -1312,7 +1303,10 @@
-
+
@@ -1491,129 +1485,121 @@
+ +
+ Select a funding source and function to inspect reusable mocks. +
- - -
-
-

Tests For Selected Function

-
- Each card shows the raw test case for the selected function, plus the mocks attached to the selected funding source. -
+
+ + + +
+
+

Tests For Selected Function

+
+ Each card shows the raw test case for the selected function, plus the mocks attached to the selected funding source.
+
-
-
- -
- -
-

- {{ testEntry.description || `Test ${testEntry.index + 1}` }} -

-
- functions.{{ currentFunction.name }}.tests[{{ testEntry.index }}] -
-
-
- -
- - {{ testEntry.status.label }} - - - {{ currentFundingSource.name }} - - - {{ testEntry.variantCount }} generated variants - -
-
- -
-
- {{ testEntry.note }} -
- -
-
- -
-
- -
-
- -
-
-

Test Mocks

-
- Mock entries under the selected funding source for this test. -
-
-
- -
-
-
-
-
{{ mockSet.label }}
-
{{ mockSet.path }}
-
- - {{ Object.keys(mockSet.value || {}).length }} mock names - -
- - -
-
- -
- No wallet-specific mock entry is defined for - {{ currentFundingSource.name }} - in this test. +
+
+ +
+ +
+

+ {{ testEntry.description || `Test ${testEntry.index + 1}` }} +

-
-
-
- No tests are defined for this function. -
- - -
+
+ + {{ testEntry.status.label }} + + + {{ currentFundingSource.name }} + + + {{ testEntry.variantCount }} generated variants + +
+ + +
+
+ {{ testEntry.note }} +
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
{{ mockSet.label }}
+
+ + {{ Object.keys(mockSet.value || {}).length }} mock names + +
+ + +
+
+ +
+ No wallet-specific mock entry is defined for + {{ currentFundingSource.name }} + in this test. +
+
+ + + +
+ No tests are defined for this function. +
+ +