Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Ombi/blame/commit/60c4ddd92d536c102d76b49e1461a78d11f12752/tests/cypress/support/request.commands.ts
You should set ROOT_URL correctly, otherwise the web may not work correctly.
Cypress . Commands . add ( 'requestGenericMovie' , ( ) = > {
cy . request ( {
method : 'POST' ,
url : '/api/v1/request/movie' ,
body : {
TheMovieDbId : 299536
} ,
headers : {
'Authorization' : 'Bearer ' + window . localStorage . getItem ( 'id_token' ) ,
}
} )
} )
Cypress . Commands . add ( 'requestMovie' , ( movieId ) = > {
cy . request ( {
method : 'POST' ,
url : '/api/v1/request/movie' ,
body : {
TheMovieDbId : movieId
} ,
headers : {
'Authorization' : 'Bearer ' + window . localStorage . getItem ( 'id_token' ) ,
}
} )
} )
Cypress . Commands . add ( 'requestAllTv' , ( tvId ) = > {
return cy . request ( {
method : 'POST' ,
url : '/api/v2/requests/tv' ,
body : {
TheMovieDbId : tvId ,
RequestAll : true
} ,
headers : {
'Authorization' : 'Bearer ' + window . localStorage . getItem ( 'id_token' ) ,
}
} ) ;
} )
Cypress . Commands . add ( 'removeAllMovieRequests' , ( ) = > {
cy . request ( {
method : 'DELETE' ,
url : '/api/v1/request/movie/all' ,
headers : {
'Authorization' : 'Bearer ' + window . localStorage . getItem ( 'id_token' ) ,
}
} ) ;
} )