test(e2e): add transcode endpoint e2e tests and clean up test helpers
Add comprehensive e2e tests for getTranscodeDecision and getTranscodeStream endpoints covering direct play, transcoding, error handling, and round-trip token validation. Refactor buildPostReq to reuse buildReq for auth params, remove unused WAV/AAC test tracks, and consolidate duplicate test assertions.
This commit is contained in:
@@ -115,9 +115,9 @@ var _ = Describe("Search Endpoints", func() {
|
||||
|
||||
Expect(resp.Status).To(Equal(responses.StatusOK))
|
||||
Expect(resp.SearchResult3).ToNot(BeNil())
|
||||
Expect(resp.SearchResult3.Artist).To(HaveLen(5))
|
||||
Expect(resp.SearchResult3.Album).To(HaveLen(6))
|
||||
Expect(resp.SearchResult3.Song).To(HaveLen(7))
|
||||
Expect(resp.SearchResult3.Artist).To(HaveLen(6))
|
||||
Expect(resp.SearchResult3.Album).To(HaveLen(7))
|
||||
Expect(resp.SearchResult3.Song).To(HaveLen(13))
|
||||
})
|
||||
|
||||
It("finds across all entity types simultaneously", func() {
|
||||
|
||||
Reference in New Issue
Block a user