diff --git a/src/SpotifyConnect/SPOCTestApiPrevious.class.st b/src/SpotifyConnect/SPOCTestApiPrevious.class.st index 43ac97b..5eace7f 100644 --- a/src/SpotifyConnect/SPOCTestApiPrevious.class.st +++ b/src/SpotifyConnect/SPOCTestApiPrevious.class.st @@ -33,13 +33,14 @@ SPOCTestApiPrevious >> testApiPreviousExecute [ { #category : #testing, - #'squeak_changestamp' : 'VE 7/9/2024 11:32' + #'squeak_changestamp' : 'TL 7/12/2024 16:26' } SPOCTestApiPrevious >> testSkipToPreviousOn [ | oldPlaybackState newPlaybackState | oldPlaybackState := self getPlaybackState. self apiEndpoint skipToPreviousOn: oldPlaybackState device id. + (Delay forSeconds: 0.6) wait. newPlaybackState := self getPlaybackState. self assert: newPlaybackState track id ~= oldPlaybackState track id. self assert: newPlaybackState isPlaying diff --git a/src/SpotifyConnect/SPOCTestApiVolume.class.st b/src/SpotifyConnect/SPOCTestApiVolume.class.st index e8807e2..c400301 100644 --- a/src/SpotifyConnect/SPOCTestApiVolume.class.st +++ b/src/SpotifyConnect/SPOCTestApiVolume.class.st @@ -37,7 +37,7 @@ SPOCTestApiVolume >> testApiVolumeExecute [ { #category : #testing, - #'squeak_changestamp' : 'TL 6/24/2024 02:41' + #'squeak_changestamp' : 'TL 7/12/2024 16:27' } SPOCTestApiVolume >> testChangeVolumeTo [ @@ -46,6 +46,7 @@ SPOCTestApiVolume >> testChangeVolumeTo [ device supportsVolume ifTrue: [newVolume := 70. self apiEndpoint changeVolumeTo: newVolume on: device id. + (Delay forSeconds: 0.6) wait. self assert: self getPlaybackState device volume = newVolume] ifFalse: [self assert: true] ] diff --git a/src/SpotifyConnect/SPOCTestPlay.class.st b/src/SpotifyConnect/SPOCTestPlay.class.st index 396b224..f463499 100644 --- a/src/SpotifyConnect/SPOCTestPlay.class.st +++ b/src/SpotifyConnect/SPOCTestPlay.class.st @@ -29,12 +29,13 @@ SPOCTestPlay >> testPlayOn [ { #category : #testing, - #'squeak_changestamp' : 'TL 6/24/2024 02:30' + #'squeak_changestamp' : 'TL 7/12/2024 16:28' } SPOCTestPlay >> testPlayTrackOn [ | playbackState | self apiEndpoint playTrack: '4PTG3Z6ehGkBFwjybzWkR8' on: self getPlaybackState device id. + (Delay forSeconds: 0.6) wait. playbackState := self getPlaybackState. self assert: playbackState track id = '4PTG3Z6ehGkBFwjybzWkR8'. self assert: playbackState isPlaying