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:
@@ -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', () => {
|
||||||
|
Reference in New Issue
Block a user