This app demonstrates how you can test a Next.js app using Cypress.
Please check out the ZEIT demo at https://testing-nextjs-apps.ghoshnirmalya.now.sh/.
$ git clone https://github.com/ghoshnirmalya/testing-next.js-apps
$ cd testing-next.js-apps
$ yarn installIf you prefer npm, you can do npm install instead of yarn install.
$ yarn devIf you prefer npm, you can do npm run dev instead of yarn dev.
$ yarn buildIf you prefer npm, you can do npm run build instead of yarn build.
$ yarn exportIf you prefer npm, you can do npm run export instead of yarn export.
$ yarn run cypress openIf you prefer npm, you can do npm run cypress open instead of yarn run cypress open.
- Blue - Landing page template from Cruip.
- Next.js - The React.js framework for building SSR web apps.
- React - A JavaScript library for building user interfaces
- Screely - Instantly turn your screenshot into a beautiful design mockup
- Cypress - Fast, easy and reliable testing for anything that runs in a browser.
- Create a ZEIT account at https://zeit.co/signup and download the CLI
- Add the API key as a secret
now secrets add butter-cms-api-key "YOUR_API_KEY" - Run
nowat the project root
MIT Licensed. Copyright (c) ButterCMS 2019.
