fixed tests

This commit is contained in:
tidusjar 2021-03-11 08:09:12 +00:00
commit bf2e5b4e4f
4 changed files with 10 additions and 10 deletions

View file

@ -33,7 +33,7 @@ class DiscoverCard {
}
get requestButton(): Cypress.Chainable<any> {
return cy.get(`button > [data-test=requestButton${this.id}${this.movie ? '1' : '0'}]`);
return cy.get(`#requestButton${this.id}${this.movie ? '1' : '0'}`);
}
verifyTitle(expected: string): Cypress.Chainable<any> {