test(tutorial-e2e): seed tutorial presents — RegisterViewer no longer auto-seeds
This commit is contained in:
@@ -20,7 +20,11 @@ public class TutorialFlowEndToEndTests
|
||||
await factory.SeedGlobalsAsync();
|
||||
|
||||
// Fresh viewer at PRE_TUTORIAL_STEP (the real prod default after Task 1).
|
||||
// SeedViewerAsync goes through RegisterViewer (admin/social path) which does NOT
|
||||
// auto-seed tutorial presents — only the prod /tool/signup -> RegisterAnonymousViewer
|
||||
// flow does. The end-to-end simulation here needs the inbox populated explicitly.
|
||||
long viewerId = await factory.SeedViewerAsync(tutorialState: 0);
|
||||
await factory.SeedTutorialPresentsAsync(viewerId);
|
||||
|
||||
// Pack 99047 (starter legendary) has base_pack_id=90001. Seed the card set used by
|
||||
// the tutorial pack pool resolver — mirrors the pattern in PackControllerTests.
|
||||
|
||||
Reference in New Issue
Block a user