mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-06 05:01:13 -07:00
Fixed last test
This commit is contained in:
parent
4af31f165b
commit
b3a2fbdb0d
1 changed files with 8 additions and 1 deletions
|
@ -197,7 +197,7 @@ describe("Discover Cards Requests Tests", () => {
|
|||
});
|
||||
});
|
||||
|
||||
it("Available TV does not allow us to request", () => {
|
||||
it.only("Available TV does not allow us to request", () => {
|
||||
cy.intercept("GET", "**/search/Tv/popular/**", (req) => {
|
||||
req.reply((res) => {
|
||||
const body = res.body;
|
||||
|
@ -208,6 +208,13 @@ describe("Discover Cards Requests Tests", () => {
|
|||
res.send(body);
|
||||
});
|
||||
}).as("cardsResponse");
|
||||
cy.intercept("GET", "**/search/Tv/moviedb/**", (req) => {
|
||||
req.reply((res2) => {
|
||||
const body = res2.body;
|
||||
body.fullyAvailable = true;
|
||||
res2.send(body);
|
||||
});
|
||||
}).as("movieDbResponse");
|
||||
window.localStorage.setItem("DiscoverOptions2", "3");
|
||||
|
||||
Page.visit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue