diff --git a/tests/wallets/index.html b/tests/wallets/index.html index 74ee27ddc..fc727f9cf 100644 --- a/tests/wallets/index.html +++ b/tests/wallets/index.html @@ -691,14 +691,11 @@ gap: 12px; grid-template-columns: minmax(150px, 1fr) - minmax(180px, 1.1fr) - 120px + minmax(240px, 1.3fr) minmax(220px, 1.2fr) minmax(180px, 1fr) - 120px - 120px - minmax(220px, 1.2fr); - align-items: start; + minmax(260px, 1.3fr); + align-items: stretch; } .function-mocks-header { @@ -731,6 +728,27 @@ margin-top: 10px; } + .function-mock-cell-stack { + display: grid; + gap: 12px; + } + + .function-mock-subfield { + display: grid; + gap: 6px; + } + + .function-mock-json-cell { + display: flex; + flex-direction: column; + height: 100%; + } + + .function-mock-json-cell .native-textarea { + flex: 1 1 auto; + min-height: 248px; + } + .function-mocks-note { margin-top: 10px; } @@ -1161,6 +1179,12 @@ label="Reload Current" @click="loadRelative(currentDataset.key)" > + Mock Name - URI Method Headers JSON Query Params JSON - Request Type - Response Type - Response JSON + Response + + Mock Name: Stable mock identifier used inside this function's fixture map. + - - + + + + + Request Type: Optional request payload format such as + json. + + + + + + + Method: HTTP verb or RPC method name used by this reusable mock. + + + + + + + Path: Request path or URI matcher for REST mocks. + + - - - - - + + + Headers JSON: JSON object of request headers that must match. + - + + + Query Params JSON: JSON object of expected query-string parameters. + - - - + + + + + Response Type: Optional response mode such as + json, + data, + or + exception. + + - - - - - - + + + + Response Body: JSON payload, data object, or exception body returned by the mock. + +
json
data
exception