Skip to content

Commit 966ddf9

Browse files
committed
Implements @fdiblen's suggestions from the PR review
Add more information to README.dev.md Remove cypress/support and cypress/fixtures
1 parent 3f67aa9 commit 966ddf9

5 files changed

Lines changed: 15 additions & 63 deletions

File tree

README.dev.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,19 @@ npm run cypress:open
8080
Select "E2E Testing", which should be configured already and select the desired browser and click the start button.
8181

8282
A browser will open with the list of tests, which can be explored.
83+
It should look like this:
84+
85+
<figure style="text-align: center; width=80%;">
86+
<img alt="Cypress E2E specs list" src="https://docs.cypress.io/_nuxt/img/spec-list-with-new-spec.61d015d.png">
87+
<caption>
88+
Cypress E2E specs list. Image is from https://docs.cypress.io/guides/end-to-end-testing/writing-your-first-end-to-end-test
89+
</caption>
90+
</figure>
91+
92+
Click on the spec file.
93+
The next screen will show the tests being executed.
94+
If anything goes wrong, you will see it in red.
95+
For more information, check <https://docs.cypress.io/guides/end-to-end-testing/testing-your-app#What-you-ll-learn>.
8396

8497
## Linting and formatting
8598

cypress.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { defineConfig } from 'cypress'
22

33
export default defineConfig({
44
e2e: {
5-
baseUrl: 'http://localhost:8080/cff-initializer-javascript/#'
5+
baseUrl: 'http://localhost:8080/cff-initializer-javascript/#',
6+
supportFile: false // If the support/e2e.ts or support/commands.ts files are reinstated, delete this line
67
}
78
})

cypress/fixtures/example.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

cypress/support/commands.ts

Lines changed: 0 additions & 37 deletions
This file was deleted.

cypress/support/e2e.ts

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)