mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Fixed the bugs that the automation tests found
This commit is contained in:
parent
600c88dd20
commit
130efd8216
3 changed files with 8 additions and 4 deletions
|
@ -44,7 +44,11 @@ export class DiscoverCard {
|
|||
}
|
||||
|
||||
get requestButton(): Cypress.Chainable<any> {
|
||||
return cy.get(`#requestButton${this.id}${this.movie ? '1' : '0'}${this.type}`);
|
||||
if (this.type) {
|
||||
return cy.get(`#requestButton${this.id}${this.movie ? '1' : '0'}${this.type}`);
|
||||
}
|
||||
|
||||
return cy.get(`#requestButton${this.id}${this.movie ? '1' : '0'}`);
|
||||
}
|
||||
|
||||
verifyTitle(expected: string): Cypress.Chainable<any> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue