cypress-io / cypress-realworld-testing

Next.js project for learn.cypress.io
https://learn.cypress.io
MIT License
77 stars 63 forks source link

Align to Cypress default template spec #297

Closed MikeMcC399 closed 11 months ago

MikeMcC399 commented 1 year ago

Closes https://github.com/cypress-io/cypress-realworld-testing-course-app/issues/26

This PR updates Testing Your First Application > Installing Cypress and writing your first test.

The Cypress default template derives from empty.ejs which uses a describe text 'template spec' and single quotes:

---
fileName: <%= fileName %>
---

describe('template spec', () => {
  it('passes', () => {
    cy.visit('https://example.cypress.io')
  })

The text is changed in the training materials to match the default template text 'template spec' from Cypress 12.14.0 and later.

The double quotes are left unchanged. These are used in too many places to want to change them.

vercel[bot] commented 1 year ago

@MikeMcC399 is attempting to deploy a commit to the Cypress Team on Vercel.

A member of the Team first needs to authorize it.

MikeMcC399 commented 1 year ago

For consistency, the screenshot

https://github.com/cypress-io/cypress-realworld-testing/blob/main/public/images/testing-your-first-application/installing-cypress-and-writing-your-first-test/Screen_Shot_2022-06-28_at_9.03.44_AM.png

on the page

Testing Your First Application > Installing Cypress and writing your first test

would also need to be updated. It looks like this was done with macOS / Safari, which I don't have access to.

MikeMcC399 commented 11 months ago

Closed due to lack of response.