diff --git a/cypress/e2e/app.cy.ts b/cypress/e2e/app.cy.ts index c2c1f1d..f166e35 100644 --- a/cypress/e2e/app.cy.ts +++ b/cypress/e2e/app.cy.ts @@ -16,6 +16,12 @@ describe('Navigation', () => { // The new page should contain an h1 with "About page" cy.get('h1').contains('About Page') + + // Go back to home page + cy.go('back') + + // The url should be "/" + cy.url().should('not.include', '/about') }) }) diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx new file mode 100644 index 0000000..636fadb --- /dev/null +++ b/src/app/about/page.tsx @@ -0,0 +1,11 @@ +import AboutComponent from '@/components/about/about-component' + +export default function About() { + return ( +