Migrating to Svelte

User management not done.
Footer not done
Nav user management icon not positioned correctly
This commit is contained in:
2020-08-19 23:54:15 +10:00
parent 0ac3aee564
commit 871b855e41
55 changed files with 2126 additions and 387 deletions

View File

@ -0,0 +1,19 @@
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');
});
});