test: add case for navigation

This commit is contained in:
Rainer Killinger
2022-04-13 11:42:26 +02:00
parent 387769b05d
commit 1442e53430
3 changed files with 19 additions and 4 deletions

View File

@@ -17,5 +17,12 @@ describe('App', () => {
cy.visit('/');
cy.title().should('equal', 'StApps');
})
});
it('should have a proper working navigation', () => {
cy.visit('/');
cy.contains('Settings').click();
cy.get('ion-title').contains('Einstellungen');
});
});

View File

@@ -17,5 +17,5 @@ describe('Settings Page', () => {
cy.visit('/settings');
cy.get('ion-title').contains('Einstellungen');
})
});
});