diff --git a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html index 51aebcbe..3f638c0e 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html +++ b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html @@ -209,11 +209,11 @@ SPDX-License-Identifier: GPL-2.0-or-later
Signal strength
- +
Frequency
diff --git a/src/trx-client/trx-frontend/trx-frontend-http/frontend/tests/browser-smoke.mjs b/src/trx-client/trx-frontend/trx-frontend-http/frontend/tests/browser-smoke.mjs index 6b6fcff7..5185be4a 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/frontend/tests/browser-smoke.mjs +++ b/src/trx-client/trx-frontend/trx-frontend-http/frontend/tests/browser-smoke.mjs @@ -376,6 +376,18 @@ try { `text grew without a resize and the strip overlaps by ${unresized.overlap}px`); assert.equal(unresized.iconsOnly, true, "the strip kept its labels with no room for them"); + // The frequency readouts are typed into, so the browser remembers what went + // in and offers it back in a dropdown over the reading — Edge does this by + // default. Nothing here wants to be autofilled from what was tuned last week. + const autofill = await page.evaluate(() => ["freq", "center-freq"].map((id) => { + const input = document.getElementById(id); + return { id, autocomplete: input?.getAttribute("autocomplete") ?? null }; + })); + for (const field of autofill) { + assert.equal(field.autocomplete, "off", + `#${field.id} offers autofill (autocomplete=${field.autocomplete})`); + } + } finally { await browser.close(); await fixture.close();