mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-18 13:57:32 +00:00
19 lines
413 B
JavaScript
19 lines
413 B
JavaScript
|
describe('Sapper template app', () => {
|
||
|
beforeEach(() => {
|
||
|
cy.visit('/')
|
||
|
});
|
||
|
|
||
|
it('has the correct <h1>', () => {
|
||
|
cy.contains('h1', 'Great success!')
|
||
|
});
|
||
|
|
||
|
it('navigates to /about', () => {
|
||
|
cy.get('nav a').contains('about').click();
|
||
|
cy.url().should('include', '/about');
|
||
|
});
|
||
|
|
||
|
it('navigates to /blog', () => {
|
||
|
cy.get('nav a').contains('blog').click();
|
||
|
cy.url().should('include', '/blog');
|
||
|
});
|
||
|
});
|