53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
# The web front-end's path: any album, not just the five with a figure.
|
|
# Run it by hand with:
|
|
# python -m musicmouse --config <config.yml> --simulate --script scenarios/web_play.txt
|
|
|
|
expect playing false
|
|
expect ring none
|
|
|
|
# Starting an album that no figure owns lights the strips differently from a figure -
|
|
# a slow three-quarter circle in the album's own colour, so the shelf shows which way
|
|
# the mouse was started.
|
|
album Kinderparty Lieder
|
|
expect playing true
|
|
expect album Kinderparty Lieder
|
|
expect track 0
|
|
expect ring EffectCircularConfig
|
|
expect mouse EffectCircularConfig
|
|
expect shelf EffectCircularConfig
|
|
expect brightness 0.50
|
|
|
|
# Transport works the same whoever asked for it.
|
|
next
|
|
expect track 1
|
|
|
|
wait 6s
|
|
expect playing false
|
|
expect ring EffectReverseSwipe
|
|
|
|
# A figure still wins: its animation owns the strips while it is on the reader.
|
|
place fuchs
|
|
expect figure fuchs
|
|
expect album Fuchs
|
|
expect ring EffectSwipeAndChange
|
|
|
|
# ...and the web animation does not fight it.
|
|
album Eule
|
|
expect album Eule
|
|
expect ring EffectSwipeAndChange
|
|
|
|
remove
|
|
expect playing false
|
|
|
|
# Starting a figure's album from the web is the same playlist the figure plays.
|
|
album Fuchs
|
|
expect playlist fuchs
|
|
expect playing true
|
|
|
|
seek 2s
|
|
expect position 2.0
|
|
|
|
pause
|
|
expect playing false
|
|
expect ring EffectReverseSwipe
|