fix: the connection prompt shows the shared address whole (closes #517)
check / check (push) Successful in 5m16s
e2e / e2e-chrome (push) Successful in 5m15s
e2e / e2e-firefox (push) Successful in 3m0s

The element holding the address on the connection prompt was a flex row,
so the title line and the address that renderAddressHtml() returns sat
side by side and the address got only the width left over, which hid its
last nine characters. It is now a plain block, as on the signature
screen, so the address has a row of its own. The Chrome browser suite's
connection test now measures that row with the check the other screens
already use.

Model: opus-5-5
This commit is contained in:
2026-10-14 08:08:21 +00:00
parent 8c08b3d467
commit 864eda03eb
2 changed files with 4 additions and 4 deletions
+3
View File
@@ -3857,6 +3857,9 @@ test("eth_requestAccounts approved returns the selected address (#183)", async (
shown.toLowerCase().includes(env.expectedAddress.toLowerCase()),
"the site prompt shows the wrong address: " + JSON.stringify(shown),
);
// The text above is there even when the row is too narrow to show it
// all; this measures that the whole address is visible (#517).
await assertAddressesFit(popup, "the connection prompt");
// Remembered, so the connection survives a background worker that MV3
// terminates after 30 seconds idle. The in-memory connectedSites map