Skip to content

Commit 72a8a77

Browse files
committed
Merge branch 'develop' into tgriesser/build/root-yarn-install
* develop: (329 commits) chore: Update Chrome (stable) to 96.0.4664.45 (#18931) fix: Loading of specs with % in the filename (#18877) chore: refactor `create` into class `$Cy` (#18715) chore: Update Chrome (beta) to 96.0.4664.45 (#18891) fix: flaky `system-tests-firefox` job (#18848) release 9.0.0 feat: ensure major release have conduit app wait on localhost:3000 fix install-required-node use --legacy-peer-deps feat: ensure major release fix darwin node install chore(driver): fix integration test retry configuration (#18643) feat(deps): update dependency electron to v15 🌟 (#18317) chore: Bind this correctly when setting response headers with cy.route() (#18859) feat: create config package for config validation (#18589) chore: patch `winston` to suppress `padLevels` warning (#18824) chore: test out major release build fix: remove outdated npm registry links (#18727) fix: Adding an existing command with `Cypress.Commands.add()` will throw an error (#18587) ...
2 parents ceedf1e + 7abcbc0 commit 72a8a77

File tree

1,626 files changed

+86555
-39535
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,626 files changed

+86555
-39535
lines changed

.eslintignore

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,32 @@
1414
**/support/fixtures/projects/**/static/*
1515
**/support/fixtures/projects/**/*.jsx
1616
**/support/fixtures/projects/**/fail.js
17+
18+
system-tests/fixtures/*
19+
!system-tests/projects
20+
system-tests/projects/**/_fixtures/*
21+
system-tests/projects/**/static/*
22+
system-tests/projects/**/*.jsx
23+
system-tests/projects/**/fail.js
24+
system-tests/lib/scaffold/plugins/index.js
25+
system-tests/lib/scaffold/support/index.js
26+
system-tests/lib/scaffold/support/commands.js
27+
system-tests/test/support/projects/e2e/cypress/
28+
system-tests/projects/e2e/cypress/integration/stdout_exit_early_failing_spec.js
29+
system-tests/projects/e2e/cypress/integration/typescript_syntax_error_spec.ts
30+
31+
1732
**/test/fixtures
1833
**/vendor
1934

2035
# cli/types is linted by tslint/dtslint
2136
cli/types
37+
2238
# packages/example is not linted (think about changing this)
2339
packages/example
2440

2541
packages/extension/test/helpers/background.js
26-
packages/server/lib/scaffold/plugins/index.js
27-
packages/server/lib/scaffold/support/index.js
28-
packages/server/lib/scaffold/support/commands.js
29-
packages/server/test/support/fixtures/projects/e2e/cypress/integration/stdout_exit_early_failing_spec.js
30-
packages/server/test/support/fixtures/projects/e2e/cypress/integration/typescript_syntax_error_spec.ts
42+
integration/stdout_exit_early_failing_spec.js
3143

3244
npm/webpack-preprocessor/cypress/tests/e2e/compile-error.js
3345
npm/webpack-preprocessor/examples/use-babelrc/cypress/integration/spec.js

.eslintrc.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,20 @@
99
"rules": {
1010
"prefer-spread": "off",
1111
"prefer-rest-params": "off",
12-
"no-useless-constructor": "off"
12+
"no-useless-constructor": "off",
13+
"no-restricted-properties": [
14+
"error",
15+
{
16+
"object": "process",
17+
"property": "geteuid",
18+
"message": "process.geteuid() will throw on Windows. Do not use it unless you catch any potential errors."
19+
},
20+
{
21+
"object": "os",
22+
"property": "userInfo",
23+
"message": "os.userInfo() will throw when there is not an `/etc/passwd` entry for the current user (like when running with --user 12345 in Docker). Do not use it unless you catch any potential errors."
24+
}
25+
]
1326
},
1427
"settings": {
1528
"react": {

.github/CODEOWNERS

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Each line is a file pattern followed by one or more owners.
22

3-
# Test Runner team are owners of code within root packages and cli
3+
# Test Runner team are owners of code within root packages concerning e2e, cli, and other utils
4+
/.github/ @cypress-io/test-runner
45
/browser-versions.json @cypress-io/test-runner
56
/cli/ @cypress-io/test-runner
67
/packages/coffee/ @cypress-io/test-runner
@@ -19,9 +20,11 @@
1920
/packages/rewriter/ @cypress-io/test-runner
2021
/packages/root/ @cypress-io/test-runner
2122
/packages/runner/ @cypress-io/test-runner
23+
/packages/runner-shared/ @cypress-io/test-runner
2224
/packages/server/ @cypress-io/test-runner
2325
/packages/socket/ @cypress-io/test-runner
2426
/packages/static/ @cypress-io/test-runner
2527
/packages/ts/ @cypress-io/test-runner
2628
/packages/ui-components/ @cypress-io/test-runner
2729
/packages/web-config/ @cypress-io/test-runner
30+
/scripts/ @cypress-io/test-runner

.github/ISSUE_TEMPLATE/1-bug-report.md

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: "🐛 Bug report"
2+
description: Report a bug found while using Cypress.
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
Have a question? 👉 [Start a new discussion](https://github.com/cypress-io/cypress/discussions) or [ask in chat](https://on.cypress.io/discord).
8+
- type: textarea
9+
id: current-behavior
10+
attributes:
11+
label: Current behavior
12+
description: A description including screenshots, stack traces, DEBUG logs, etc. [Troubleshooting tips](https://on.cypress.io/troubleshooting).
13+
placeholder: Currently...
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: desired-behavior
18+
attributes:
19+
label: Desired behavior
20+
description: Remember, we're not familiar with the app you're testing, so please provide a clear description of what should happen.
21+
placeholder: In this situation, Cypress should...
22+
- type: textarea
23+
id: reproduction
24+
attributes:
25+
label: Test code to reproduce
26+
description: Provide a failing test or repo we can run. You can fork [this repo](https://github.com/cypress-io/cypress-test-tiny), set up a failing test, then link to your fork.
27+
placeholder: Here is my failing test code and the app code to run the tests on...
28+
validations:
29+
required: true
30+
- type: input
31+
id: version
32+
attributes:
33+
label: Cypress Version
34+
description: Run `cypress version` to see your current version. If possible, please update Cypress to the latest version first.
35+
placeholder: ex. 7.6.0
36+
validations:
37+
required: true
38+
- type: textarea
39+
id: other
40+
attributes:
41+
label: Other
42+
placeholder: Any other details?

.github/ISSUE_TEMPLATE/2-install-issue.md

Lines changed: 0 additions & 42 deletions
This file was deleted.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: "⬇️ Issue during install"
2+
description: Report an issue while downloading Cypress.
3+
labels: ['topic: installation']
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Have a question? 👉 [Start a new discussion](https://github.com/cypress-io/cypress/discussions) or [ask in chat](https://on.cypress.io/discord).
9+
10+
If you're behind a corporate proxy, make sure to [configure it properly](https://on.cypress.io/proxy-configuration) before install.
11+
- type: textarea
12+
id: current-behavior
13+
attributes:
14+
label: Current behavior
15+
description: A description including screenshots, stack traces, DEBUG logs, etc. [Troubleshooting tips](https://on.cypress.io/troubleshooting).
16+
placeholder: When I try to download Cypress...
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: debug-logs
21+
attributes:
22+
label: Debug logs
23+
description: Include DEBUG logs setting [`DEBUG=cypress:*`](https://on.cypress.io/troubleshooting#Print-DEBUG-logs/). Include npm/yarn logs if applicable.
24+
placeholder: Debug logs
25+
- type: input
26+
id: version
27+
attributes:
28+
label: Cypress Version
29+
description: The version you're trying to install
30+
placeholder: ex. 7.6.0
31+
validations:
32+
required: true
33+
- type: dropdown
34+
id: package-manager
35+
attributes:
36+
label: Package Manager
37+
options:
38+
- npm
39+
- yarn
40+
- Direct download
41+
- pnpm
42+
- other
43+
validations:
44+
required: true
45+
- type: dropdown
46+
id: operating-system
47+
attributes:
48+
label: Operating system
49+
options:
50+
- Linux
51+
- Mac
52+
- Windows
53+
- other
54+
validations:
55+
required: true
56+
- type: textarea
57+
id: other
58+
attributes:
59+
label: Other
60+
placeholder: Any other details?

.github/ISSUE_TEMPLATE/3-feature.md

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

.github/ISSUE_TEMPLATE/3-feature.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: "✨ Feature"
2+
description: Suggest a feature or enhancement to improve Cypress.
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
Have a question? 👉 [Start a new discussion](https://github.com/cypress-io/cypress/discussions) or [ask in chat](https://on.cypress.io/discord).
8+
- type: textarea
9+
id: feature
10+
attributes:
11+
label: What would you like?
12+
description: A clear description of the feature or enhancement wanted in Cypress.
13+
placeholder: I'd like to be able to...
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: reason
18+
attributes:
19+
label: Why is this needed?
20+
description: Remember, we're not familiar with the app you're testing, so please provide a clear description of why this would be useful to your project.
21+
placeholder: I want this because...
22+
- type: textarea
23+
id: other
24+
attributes:
25+
label: Other
26+
placeholder: Any other details?

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ contact_links:
33
- name: 🤔 Questions and Help
44
url: https://github.com/cypress-io/cypress/discussions
55
about: This issue tracker is not for support questions. Please refer to our Discussions.
6-
- name: 📊 Cypress Dashboard Feature
7-
url: https://portal.productboard.com/cypress-io/1-cypress-dashboard
8-
about: This issue tracker is not for requesting Cypress Dashboard features. Please express interest here.
6+
- name: 💬 Chat
7+
url: https://on.cypress.io/discord
8+
about: Want to discuss Cypress with others? Check out our chat.
99
- name: 📃 Documentation Issue
1010
url: https://github.com/cypress-io/cypress-documentation/issues/new
1111
about: This issue tracker is not for documentation issues. Please open documentation issues here.

0 commit comments

Comments
 (0)