This project was bootstrapped using LiveChat Developer Console CLI
This app was created as the follow-up to the following blog post: Stubbing OAuth Popup Authorization with Cypress.
Install dependecies
npm install
Start local development server:
npm run dev
Open the Cypress App:
npm run cy:open
If you would like to correctly authorize outside of the Cypress tests, you need to set up your own LiveChat OAuth Client. You can learn more about that here: Setup a LiveChat OAuth Client. Then, you should replace the lcClientId
inside of the /lib/config.ts
with the correct ClientID.
Runs the app in the development mode. Open http://localhost:3000 to view it in your browser. The page will reload when you make changes. You may also see any lint errors in the console.
Builds the app for production to the .next
folder.
Starts production ready Next.js web server.
Opens the Cypress App.
Runs the Cypress tests in the headless mode.