start adding site to main repo

This commit is contained in:
Richard Harris
2019-04-28 14:37:02 -04:00
parent 01dd08849a
commit 36f91d4e9a
76 changed files with 6165 additions and 0 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');
});
});