Closed Bug 2057413 Opened 1 month ago Closed 1 month ago

Bug 2057413 - [efficiency] Convert insecure-connection-in-custom-tab test + harden trust-panel website selectors

Categories

(Firefox for Android :: UI Tests, task)

task

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: jajohnson, Assigned: jajohnson)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Converts UnifiedTrustPanelTest.verifyInsecurePageConnectionFromQuickSettingsWithNoTrackersInCustomTabsTest
(TestRail 3186711) -- pure reuse of custom-tab launch + the CustomTabsPage->trust-panel site-info edge +
verifyUnifiedTrustPanelItems (no new capability).

Hardening: WEBSITE_TITLE / WEBSITE_URL now match the unique testTags (unified.trust.panel.website[.url])
instead of the title/url TEXT. The page title + host also render in the address bar, so text matching was
ambiguous (gotcha A7); tag-first is both correct (authoring priority B5) and fixes it for every trust-panel
test. Full UnifiedTrustPanelTest re-verified green (5 tests).

Why: Ports insecure-connection-in-custom-tab (pure reuse) and hardens trust-panel website selectors to unique testTags.

Context: part of the ui/efficiency UI-test modernization. This is a faithful port of an existing legacy ui/ smoke test onto the ui/efficiency framework — same coverage and assertions, but far less per-test code via a shared page-object / selector / navigation layer, which bends the UI-test maintenance cost curve. Smoke-conversion campaign (Program B), epic MTE-5504.

TestRail: 3186711

Summary: [efficiency] Convert insecure-connection-in-custom-tab test + harden trust-panel website selectors → Bug 2057413 - [efficiency] Convert insecure-connection-in-custom-tab test + harden trust-panel website selectors
Assignee: nobody → jajohnson

Converts UnifiedTrustPanelTest.verifyInsecurePageConnectionFromQuickSettingsWithNoTrackersInCustomTabsTest
(TestRail 3186711) -- pure reuse of custom-tab launch + the CustomTabsPage->trust-panel site-info edge +
verifyUnifiedTrustPanelItems (no new capability).

Hardening: WEBSITE_TITLE / WEBSITE_URL now match the unique testTags (unified.trust.panel.website[.url])
instead of the title/url TEXT. The page title + host also render in the address bar, so text matching was
ambiguous (gotcha A7); tag-first is both correct (authoring priority B5) and fixes it for every trust-panel
test. Full UnifiedTrustPanelTest re-verified green (5 tests).

Blocks: 2030727
Pushed by jajohnson@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ce7b780b4593 https://hg.mozilla.org/integration/autoland/rev/24357325ee3d [efficiency] Convert insecure-connection-in-custom-tab test + harden trust-panel website selectors r=isabel_rios
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: