test(list-apps): assert apps length to be at least 1

This commit is contained in:
Ali BARIN
2022-10-26 01:23:36 +02:00
parent fbc867b4fa
commit 4292517a86

View File

@@ -13,7 +13,7 @@ describe('Apps page', () => {
it('displays applications', () => { it('displays applications', () => {
cy.og('apps-loader').should('not.exist'); cy.og('apps-loader').should('not.exist');
cy.og('app-row').should('have.length', 3); cy.og('app-row').should('have.length.least', 1);
cy.ss('Applications'); cy.ss('Applications');
}); });
@@ -24,7 +24,7 @@ describe('Apps page', () => {
}); });
it('lists applications', () => { it('lists applications', () => {
cy.og('app-list-item').should('have.length', 3); cy.og('app-list-item').should('have.length.above', 1);
}); });
it('searches an application', () => { it('searches an application', () => {