thefrontside / simulacrum

A simulation platform for use during testing, during development and for high-fidelity application previews
89 stars 14 forks source link

One cypress command per file and nest examples under nextjs #161

Closed dagda1 closed 2 years ago

dagda1 commented 2 years ago

Motivation

There were a few things that I wanted to tidy before doing any more work on the cypress plugin.

The first was to make sure all the auth0 scope fields had the same value:

AUTH0_SCOPE="openid profile email offline_access".

Next, I have always found it difficult to get my head around which example was which as the 2 directories had very similar names:

This PR nests the 2 examples under a examples/nextjs parent directory

|_ examples
   |_ nextjs
      |_ auth0-react
      |_ nextjs-auth0

Lastly, I've also split all the cypress commands into separate files for each command before doing any more work on this as it was becoming too big for 1 file.

commands

netlify[bot] commented 2 years ago

✔️ Deploy Preview for simulacrum canceled.

🔨 Explore the source changes: 2b14e48a298e7c2d00cd6769a4fe6f9c2d582ad3

🔍 Inspect the deploy log: https://app.netlify.com/sites/simulacrum/deploys/61d3345344d5c100089d7630