Open in Google Play Console deep-links the app: Play developer id per credential profile (accounts play-developer, desktop Accounts), shared playAppUrl builder for desktop, CLI and watch; developer chooser instead of the console root

This commit is contained in:
CRTkafa 2026-10-23 09:20:35 +08:00
parent 7c769c18f4
commit 4a74989a95
33 changed files with 311 additions and 40 deletions

View file

@ -33,7 +33,7 @@ describe('console-links', () => {
test('fallbacks: app list / developer chooser; reused verified shapes', () => {
expect(consoleUrl('asc.age-rating', {})).toBe('https://appstoreconnect.apple.com/apps');
expect(consoleUrl('play.data-safety', {})).toBe('https://play.google.com/console');
expect(consoleUrl('play.data-safety', {})).toBe('https://play.google.com/console/u/0/developers');
expect(consoleUrl('play.data-safety', { playDeveloperId: IDS.playDeveloperId })).toBe(`https://play.google.com/console/u/0/developers/${IDS.playDeveloperId}/app-list`);
expect(consoleUrl('play.dashboard', IDS)).toBe(`https://play.google.com/console/u/0/developers/${IDS.playDeveloperId}/app/${IDS.playAppId}/app-dashboard`);
expect(consoleUrl('play.content-rating', IDS)).toEndWith('/app-content/content-rating-overview');