mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53:19 -07:00
Added more tests to cover the request grid around TV
This commit is contained in:
parent
432fb683c2
commit
c2a3fd1c4f
9 changed files with 225 additions and 40 deletions
|
@ -26,11 +26,11 @@ Cypress.Commands.add('requestMovie', (movieId) => {
|
|||
})
|
||||
|
||||
Cypress.Commands.add('requestAllTv', (tvId) => {
|
||||
cy.request({
|
||||
return cy.request({
|
||||
method: 'POST',
|
||||
url: '/api/v1/request/tv',
|
||||
url: '/api/v2/requests/tv',
|
||||
body: {
|
||||
TvDbId: tvId,
|
||||
TheMovieDbId: tvId,
|
||||
RequestAll: true
|
||||
},
|
||||
headers: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue