File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,14 @@ SPOCTestApiPrevious >> testApiPreviousExecute [
33
33
34
34
{
35
35
#category : #testing ,
36
- #' squeak_changestamp' : ' VE 7/9 /2024 11:32 '
36
+ #' squeak_changestamp' : ' TL 7/12 /2024 16:26 '
37
37
}
38
38
SPOCTestApiPrevious >> testSkipToPreviousOn [
39
39
40
40
| oldPlaybackState newPlaybackState |
41
41
oldPlaybackState := self getPlaybackState.
42
42
self apiEndpoint skipToPreviousOn: oldPlaybackState device id.
43
+ (Delay forSeconds: 0.6 ) wait.
43
44
newPlaybackState := self getPlaybackState.
44
45
self assert: newPlaybackState track id ~= oldPlaybackState track id.
45
46
self assert: newPlaybackState isPlaying
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ SPOCTestApiVolume >> testApiVolumeExecute [
37
37
38
38
{
39
39
#category : #testing ,
40
- #' squeak_changestamp' : ' TL 6/24 /2024 02:41 '
40
+ #' squeak_changestamp' : ' TL 7/12 /2024 16:27 '
41
41
}
42
42
SPOCTestApiVolume >> testChangeVolumeTo [
43
43
@@ -46,6 +46,7 @@ SPOCTestApiVolume >> testChangeVolumeTo [
46
46
device supportsVolume
47
47
ifTrue: [newVolume := 70 .
48
48
self apiEndpoint changeVolumeTo: newVolume on: device id.
49
+ (Delay forSeconds: 0.6 ) wait.
49
50
self assert: self getPlaybackState device volume = newVolume]
50
51
ifFalse: [self assert: true ]
51
52
]
Original file line number Diff line number Diff line change @@ -29,12 +29,13 @@ SPOCTestPlay >> testPlayOn [
29
29
30
30
{
31
31
#category : #testing ,
32
- #' squeak_changestamp' : ' TL 6/24 /2024 02:30 '
32
+ #' squeak_changestamp' : ' TL 7/12 /2024 16:28 '
33
33
}
34
34
SPOCTestPlay >> testPlayTrackOn [
35
35
36
36
| playbackState |
37
37
self apiEndpoint playTrack: ' 4PTG3Z6ehGkBFwjybzWkR8' on: self getPlaybackState device id.
38
+ (Delay forSeconds: 0.6 ) wait.
38
39
playbackState := self getPlaybackState.
39
40
self assert: playbackState track id = ' 4PTG3Z6ehGkBFwjybzWkR8' .
40
41
self assert: playbackState isPlaying
You can’t perform that action at this time.
0 commit comments