mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 04:49:33 -07:00
test(automation): ✅ Fixed automation tests
This commit is contained in:
parent
914b096781
commit
f32adbdb8b
1 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ describe("Search Tests", () => {
|
||||||
|
|
||||||
it("No Movie results, enabling Tv filter we get results", () => {
|
it("No Movie results, enabling Tv filter we get results", () => {
|
||||||
Page.navbar.searchFilter.applyFilter(false, true, false);
|
Page.navbar.searchFilter.applyFilter(false, true, false);
|
||||||
Page.visit("It's always sunny in Philadelphia");
|
Page.visit("Dexter New Blood");
|
||||||
|
|
||||||
cy.wait('@searchResponse');
|
cy.wait('@searchResponse');
|
||||||
Page.noSearchResultMessage.should('exist');
|
Page.noSearchResultMessage.should('exist');
|
||||||
|
@ -113,7 +113,7 @@ describe("Search Tests", () => {
|
||||||
const card = Page.getCard('2710', false);
|
const card = Page.getCard('2710', false);
|
||||||
|
|
||||||
card.topLevelCard.realHover();
|
card.topLevelCard.realHover();
|
||||||
card.title.should('have.text', "It's Always Sunny in Philadelphia");
|
card.title.should('have.text', "Dexter: New Blood");
|
||||||
card.overview.contains('Irish pub');
|
card.overview.contains('Irish pub');
|
||||||
card.requestType.contains('TV Show');
|
card.requestType.contains('TV Show');
|
||||||
card.requestButton.should('exist');
|
card.requestButton.should('exist');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue