mirror of https://github.com/Ombi-app/Ombi
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.5 KiB
59 lines
1.5 KiB
4 years ago
|
|
||
|
export class AdminRequestDialog {
|
||
|
|
||
|
isOpen(): Cypress.Chainable<any> {
|
||
|
return cy.waitUntil(x => {
|
||
|
return this.title.should('exist');
|
||
|
});
|
||
|
}
|
||
|
|
||
|
get title(): Cypress.Chainable<any> {
|
||
|
return cy.get(`#advancedOptionsTitle`);
|
||
|
}
|
||
|
|
||
|
get requestOnBehalfUserInput(): Cypress.Chainable<any> {
|
||
|
return cy.get(`#requestOnBehalfUserInput`);
|
||
|
}
|
||
|
|
||
|
get sonarrQualitySelect(): Cypress.Chainable<any> {
|
||
|
return cy.get(`#sonarrQualitySelect`);
|
||
|
}
|
||
|
|
||
|
selectSonarrQuality(id: number): Cypress.Chainable<any> {
|
||
|
return cy.get(`#sonarrQualitySelect${id}`);
|
||
|
}
|
||
|
|
||
|
get sonarrFolderSelect(): Cypress.Chainable<any> {
|
||
|
return cy.get(`#sonarrFolderSelect`);
|
||
|
}
|
||
|
|
||
|
selectSonarrFolder(id: number): Cypress.Chainable<any> {
|
||
|
return cy.get(`#sonarrFolderSelect${id}`);
|
||
|
}
|
||
|
|
||
|
get radarrQualitySelect(): Cypress.Chainable<any> {
|
||
|
return cy.get(`#radarrQualitySelect`);
|
||
|
}
|
||
|
|
||
|
selectradarrQuality(id: number): Cypress.Chainable<any> {
|
||
|
return cy.get(`#radarrQualitySelect${id}`);
|
||
|
}
|
||
|
|
||
|
get radarrFolderSelect(): Cypress.Chainable<any> {
|
||
|
return cy.get(`#radarrFolderSelect`);
|
||
|
}
|
||
|
|
||
|
selectradarrFolder(id: number): Cypress.Chainable<any> {
|
||
|
return cy.get(`#radarrFolderSelect${id}`);
|
||
|
}
|
||
|
|
||
|
|
||
|
get cancelButton(): Cypress.Chainable<any> {
|
||
|
return cy.get(`#cancelButton`);
|
||
|
}
|
||
|
|
||
|
get requestButton(): Cypress.Chainable<any> {
|
||
|
return cy.get(`#requestButton`);
|
||
|
}
|
||
|
}
|