mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-22 14:13:36 -07:00
test: Fixed automation
This commit is contained in:
parent
81ddc0ccb8
commit
2078b3bf08
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ export class DiscoverCard {
|
|||
}
|
||||
|
||||
get requestType(): Cypress.Chainable<any> {
|
||||
return cy.get(`#type${this.id}`);
|
||||
return cy.get(`#type${this.id}-${this.movie ? 'movie': 'tvShow'}`);
|
||||
}
|
||||
|
||||
get statusClass(): Cypress.Chainable<any> {
|
||||
|
|
|
@ -3,7 +3,7 @@ import { searchPage as Page } from "@/integration/page-objects";
|
|||
describe("Search Tests", () => {
|
||||
beforeEach(() => {
|
||||
cy.login();
|
||||
cy.intercept("POST", "v2/search/multi/").as("searchResponse");
|
||||
cy.intercept("POST", "api/v2/search/multi/*").as("searchResponse");
|
||||
});
|
||||
|
||||
it("Single result when TV Search Only", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue