# Discord presence scenario (tests/discord_suite.sh "flow"): boot -> menus ->
# Quick Race Circuit (drive, pause, quit to the main menu) -> Quick Race Drift
# (drive, pause, quit to the main menu) -> menus -> clean quit (script quit =
# the Cmd-Q / close-window path).  tests/discord_check.py checks the frames
# the mock Discord received.
0     tapuntil RETURN MC_Background.fng 120 4000   # title -> profile prompt
+200  tap RETURN                                   # "No"
+0    waitfng GarageMain.fng 3000
+300  log MARK menus
+600  tapuntil RETURN UI_QRModeSelect.fng 150 3000 # main menu -> Quick Race
+200  tapuntil RETURN UI_QRTrackSelect.fng 150 1500   # Circuit
+200  tapuntil RETURN UI_QRModeOptions.fng 150 1500
+200  tapuntil RETURN UI_QRCarSelect.fng 150 1500
+200  tapuntil RETURN PC_Loading.fng 150 1500
+0    waitmem 0x8654a4 6 3000
+0    log MARK race1
+900  down UP
+900  dump race1
+600  up UP
+0    tap ESCAPE                                    # pause menu
+300  log MARK paused
+0    dump paused
+0    tap RIGHT
+40   tap RIGHT
+40   tap RIGHT
+40   tap RIGHT                                     # "Quit to Main Menu"
+60   tap RETURN
+150  tap LEFT                                      # "OK"
+40   tap RETURN
+0    waitmem 0x8654a4 3 3000
+0    log MARK menus2
+1200 dump menus2
+0    tapuntil RETURN UI_QRModeSelect.fng 150 3000
+200  tap RIGHT
+40   tap RIGHT
+40   tap RIGHT                                     # Drift
+60   dump drift_mode
+0    tapuntil RETURN UI_QRTrackSelect.fng 150 1500
+200  tapuntil RETURN UI_QRModeOptions.fng 150 1500
+200  tapuntil RETURN UI_QRCarSelect.fng 150 1500
+200  tapuntil RETURN PC_Loading.fng 150 1500
+0    waitmem 0x8654a4 6 3000
+0    log MARK race2
+900  down UP
+900  dump race2
+600  up UP
+0    tap ESCAPE
+300  tap RIGHT
+40   tap RIGHT
+40   tap RIGHT
+40   tap RIGHT
+60   tap RETURN
+150  tap LEFT
+40   tap RETURN
+0    waitmem 0x8654a4 3 3000
+0    log MARK menus3
+3000 dump menus3                                   # > settle + Discord's 20 s rate window
+0    log MARK quitting
+0    quit
