diff --git a/src/frontend/cypress/e2e/Home.cy.ts b/src/frontend/cypress/e2e/Home.cy.ts index 1e5526d9a4..300912f696 100644 --- a/src/frontend/cypress/e2e/Home.cy.ts +++ b/src/frontend/cypress/e2e/Home.cy.ts @@ -12,14 +12,14 @@ describe('Home Page', () => { it('should validate the home page', () => { getElementByField(CypressFields.HomePage).should('exist'); - getElementByField(CypressFields.ProductCard, getElementByField(CypressFields.ProductList)).should('have.length', 9); + getElementByField(CypressFields.ProductCard, getElementByField(CypressFields.ProductList)).should('have.length', 10); getElementByField(CypressFields.SessionId).should('contain', SessionGateway.getSession().userId); }); it('should change currency', () => { getElementByField(CypressFields.CurrencySwitcher).select('EUR'); - getElementByField(CypressFields.ProductCard, getElementByField(CypressFields.ProductList)).should('have.length', 9); + getElementByField(CypressFields.ProductCard, getElementByField(CypressFields.ProductList)).should('have.length', 10); getElementByField(CypressFields.CurrencySwitcher).should('have.value', 'EUR');