storebound/tests/fixtures/console/asc-apps-dup.html
CRT b39e44e6ab console fill: one app shown twice is one app; App Privacy opens by app id via the API
`console fill apple-app-privacy` without apple.appId stopped at "the app
in the list" with "more than one app matches: X | X" for an account with
one app: the Apps grid names each app twice (the icon link's aria-label
and the title link), both opening the same /apps/<id>/... page.

- pickApp tells hits apart by the app they open (/apps/<id>, else the
  link target), not by name. Two apps of one name with different targets
  still stop and are listed.
- Without apple.appId, but with App Store Connect API credentials, the
  app id is looked up from apple.bundleId (GET /v1/apps?filter[bundleId],
  as `apple status` does), cached in .storebound/console-app-ids.json, and
  App Privacy opens by deep link. Without credentials, or when the lookup
  fails, the Apps list by name is used, and the log says so.

Fixture asc-apps-card.html (a card with the name in the title and an
aria-label); tests for both paths.
2026-10-12 06:32:21 +08:00

8 lines
593 B
HTML

<!doctype html>
<!-- MODELED, not recorded: App Store Connect > Apps with two apps of the same name (the list shows no bundle id), each with its own link target.
Navigation must stop and list both instead of guessing. -->
<html lang="en"><head><meta charset="utf-8"><title>Apps - App Store Connect</title><script src="/_common.js"></script></head>
<body>
<h1>Apps</h1>
<nav aria-label="Apps list"><a href="/asc-app.html?id=6800000001">Example Game</a> <a href="/asc-app.html?id=6800000002">Example Game</a> <a href="/asc-app.html?id=6800000003">Example Game Lite</a></nav>
</body></html>