mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 05:43:19 -07:00
test coverage on the plex settings page
This commit is contained in:
parent
cd6b70f771
commit
dc0a66f4d8
9 changed files with 142 additions and 19 deletions
|
@ -58,12 +58,20 @@ class PlexServerModal {
|
|||
get saveButton(): Cypress.Chainable<any> {
|
||||
return cy.get('#saveServer');
|
||||
}
|
||||
|
||||
getLib(index: number): Cypress.Chainable<any> {
|
||||
return cy.get(`#lib-${index}`);
|
||||
}
|
||||
}
|
||||
|
||||
class PlexServersGrid {
|
||||
serverCardButton(name: string): Cypress.Chainable<any> {
|
||||
return cy.get(`#${name}-button`);
|
||||
}
|
||||
|
||||
get newServerButton(): Cypress.Chainable<any> {
|
||||
return cy.get('#newServer');
|
||||
}
|
||||
}
|
||||
|
||||
class PlexSettingsPage extends BasePage {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue