chore: Fix broken automation test (#4471)

pull/4473/head
sephrat 3 years ago committed by GitHub
parent c044bd3e65
commit 933b3892a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -110,11 +110,11 @@ describe("Search Tests", () => {
Page.navbar.searchFilter.tvToggle.click(); Page.navbar.searchFilter.tvToggle.click();
cy.wait('@searchResponse'); cy.wait('@searchResponse');
const card = Page.getCard('2710', false); const card = Page.getCard('131927', false);
card.topLevelCard.realHover(); card.topLevelCard.realHover();
card.title.should('have.text', "Dexter: New Blood"); card.title.should('have.text', "Dexter: New Blood");
card.overview.contains('Irish pub'); card.overview.contains('Iron Lake');
card.requestType.contains('TV Show'); card.requestType.contains('TV Show');
card.requestButton.should('exist'); card.requestButton.should('exist');
}); });

Loading…
Cancel
Save