Merge pull request #650 from automatisch/fix/e2e-tests-more-than-one-app

test(list-apps): assert apps length to be at least 1
This commit is contained in:
Ömer Faruk Aydın
2022-10-26 18:20:21 +02:00
committed by GitHub

View File

@@ -13,7 +13,7 @@ describe('Apps page', () => {
it('displays applications', () => {
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');
});
@@ -24,7 +24,7 @@ describe('Apps page', () => {
});
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', () => {