mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53:19 -07:00
more automation
This commit is contained in:
parent
77ac5e77cc
commit
3c37a21ab3
10 changed files with 274 additions and 31 deletions
|
@ -1,10 +1,5 @@
|
|||
import { BasePage } from "../../base.page";
|
||||
|
||||
class BaseMediaPage extends BasePage {
|
||||
get title(): Cypress.Chainable<any> {
|
||||
return cy.get('#mediaTitle');
|
||||
}
|
||||
}
|
||||
class TvRequestPanel {
|
||||
|
||||
seasonTab(seasonNumber: number): Cypress.Chainable<any> {
|
||||
|
@ -61,8 +56,11 @@ class TvDetailsInformationPanel {
|
|||
}
|
||||
}
|
||||
|
||||
class TvDetailsPage extends BaseMediaPage {
|
||||
class TvDetailsPage extends BasePage {
|
||||
|
||||
get title(): Cypress.Chainable<any> {
|
||||
return cy.get('#mediaTitle');
|
||||
}
|
||||
|
||||
get availableButton(): Cypress.Chainable<any> {
|
||||
return cy.get('#availableBtn');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue