mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 18:47:15 -07:00
Some small fixes, and more automation tests to cover the breaking scenario from earlier
This commit is contained in:
parent
cb3916f773
commit
9109350f2e
8 changed files with 233 additions and 147 deletions
|
@ -1,7 +1,10 @@
|
|||
import { EpisodeRequestModal } from "./EpisodeRequestModal";
|
||||
|
||||
export class DiscoverCard {
|
||||
private id: string;
|
||||
private movie: boolean;
|
||||
|
||||
episodeRequestModal = new EpisodeRequestModal();
|
||||
constructor(id: string, movie: boolean) {
|
||||
this.id = id;
|
||||
this.movie = movie;
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
export class EpisodeRequestModal {
|
||||
|
||||
get allSeasonsButton(): Cypress.Chainable<any> {
|
||||
return cy.get(`#episodeModalAllSeasons`);
|
||||
}
|
||||
get firstSeasonButton(): Cypress.Chainable<any> {
|
||||
return cy.get(`#episodeModalFirstSeason`);
|
||||
}
|
||||
get latestSeasonButton(): Cypress.Chainable<any> {
|
||||
return cy.get(`#episodeModalLatestSeason`);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue