Skip to content

Commit cc13866

Browse files
amirrustamcowboyjaffrepauljennifer-shehaneKevin Old
authored
Release v10 testing branch (#750)
Co-authored-by: Ben Alman <[email protected]> Co-authored-by: Paul Jaffre <[email protected]> Co-authored-by: Jennifer Shehane <[email protected]> Co-authored-by: Kevin Old <[email protected]> Co-authored-by: ElevateBart <[email protected]> Co-authored-by: Tyler Biethman <[email protected]>
1 parent 77ea242 commit cc13866

File tree

487 files changed

+1877
-1710
lines changed

Some content is hidden

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

487 files changed

+1877
-1710
lines changed

.circleci/config.yml

+8-14
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,16 @@ jobs:
5757
steps:
5858
- checkout
5959
- restore_cache:
60-
key: cache-dirs-{{ .Branch }}-{{ checksum "package.json" }}-{{ checksum "circle.yml" }}
60+
key: cache-dirs-{{ .Branch }}-{{ checksum "package.json" }}-{{ checksum ".circleci/config.yml" }}
6161
- run: npm ci
6262

63-
# Use Git commit message to install any pre-release versions of Cypress
64-
- run: npm i -g @cypress/commit-message-install
65-
# if there is no special JSON comment in the current commit body
66-
# then this command does nothing
67-
- run: commit-message-install --else "echo nothing custom to install"
68-
6963
# run verify and then save cache.
7064
# this ensures that the Cypress verified status is cached too
7165
- run: npm run cypress:verify
7266
- run: npm run cypress:info
7367
- run: npm run stop-only
7468
- save_cache:
75-
key: cache-dirs-{{ .Branch }}-{{ checksum "package.json" }}-{{ checksum "circle.yml" }}
69+
key: cache-dirs-{{ .Branch }}-{{ checksum "package.json" }}-{{ checksum ".circleci/config.yml" }}
7670
paths:
7771
- ~/.npm
7872
- ~/.cache
@@ -334,8 +328,8 @@ jobs:
334328
<<: *defaults
335329
server-communication__stream-tests:
336330
<<: *defaults
337-
server-communication__offline:
338-
<<: *defaults
331+
# server-communication__offline:
332+
# <<: *defaults
339333
server-communication__server-timing:
340334
<<: *defaults
341335
server-communication__wait-for-api:
@@ -639,9 +633,9 @@ all_jobs: &all_jobs
639633
- server-communication__stream-tests:
640634
requires:
641635
- build
642-
- server-communication__offline:
643-
requires:
644-
- build
636+
# - server-communication__offline:
637+
# requires:
638+
# - build
645639
- server-communication__server-timing:
646640
requires:
647641
- build
@@ -708,7 +702,7 @@ all_jobs: &all_jobs
708702
- server-communication__visit-2nd-domain
709703
- server-communication__pass-value-between-specs
710704
- server-communication__stream-tests
711-
- server-communication__offline
705+
# - server-communication__offline
712706
- server-communication__server-timing
713707
- server-communication__wait-for-api
714708
- server-communication__request

README.md

+7-5

appveyor.yml

-43
This file was deleted.

examples/blogs__a11y/README.md

+3-3
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const { defineConfig } = require('cypress')
2+
3+
module.exports = defineConfig({})

examples/blogs__a11y/cypress.json

-3
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const { defineConfig } = require('cypress')
2+
3+
module.exports = defineConfig({
4+
fixturesFolder: false,
5+
defaultCommandTimeout: 8000,
6+
e2e: {
7+
baseUrl: 'http://localhost:8888',
8+
excludeSpecPattern: 'utils.js',
9+
},
10+
})

examples/blogs__application-actions/cypress.json

-6
This file was deleted.

examples/blogs__application-actions/cypress/integration/spec.js examples/blogs__application-actions/cypress/e2e/spec.cy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
TODO_ITEM_THREE,
1111
TODO_ITEM_TWO,
1212
toggle,
13-
} from './utils'
13+
} from './utils.cy'
1414

1515
describe('TodoMVC', function () {
1616
beforeEach(function () {

examples/blogs__application-actions/cypress/plugins/index.js

-4
This file was deleted.

examples/blogs__application-actions/package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
"test:ci": "../../node_modules/.bin/start-test 8888 cypress:run",
1818
"test:ci:chrome": "../../node_modules/.bin/start-test 8888 cypress:run:chrome",
1919
"test:ci:firefox": "../../node_modules/.bin/start-test 8888 cypress:run:firefox",
20-
"test:ci:record": "../../node_modules/.bin/start-test 8888 cypress:run:record",
21-
"test:ci:windows": "bin-up start-test start:win http://localhost:8888 cypress:run:win",
22-
"test:ci:windows:record": "bin-up start-test start:win http://localhost:8888 cypress:run:win:record"
20+
"test:ci:record": "../../node_modules/.bin/start-test 8888 cypress:run:record"
2321
}
2422
}

examples/blogs__assertion-counting/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const { defineConfig } = require('cypress')
2+
3+
module.exports = defineConfig({})

examples/blogs__assertion-counting/cypress.json

-3
This file was deleted.

examples/blogs__class-decorator/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const { defineConfig } = require('cypress')
2+
3+
module.exports = defineConfig({
4+
fixturesFolder: false,
5+
e2e: {
6+
baseUrl: 'http://localhost:1234',
7+
supportFile: false,
8+
},
9+
})

examples/blogs__class-decorator/cypress.json

-6
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const { defineConfig } = require('cypress')
2+
3+
module.exports = defineConfig({
4+
chromeWebSecurity: false,
5+
fixturesFolder: false,
6+
e2e: {
7+
supportFile: false,
8+
},
9+
})

examples/blogs__codepen-demo/cypress.json

-6
This file was deleted.

examples/blogs__dayjs/README.md

+2-2
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const { defineConfig } = require('cypress')
2+
3+
module.exports = defineConfig({
4+
fixturesFolder: false,
5+
viewportWidth: 500,
6+
viewportHeight: 200,
7+
})

examples/blogs__dayjs/cypress.json

-6
This file was deleted.

examples/blogs__dayjs/cypress/support/index.js examples/blogs__dayjs/cypress/support/e2e.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ***********************************************************
2-
// This example support/index.js is processed and
2+
// This example support/e2e.js is processed and
33
// loaded automatically before your test files.
44
//
55
// This is a great place to put global configuration and
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const { defineConfig } = require('cypress')
2+
3+
module.exports = defineConfig({
4+
fixturesFolder: false,
5+
e2e: {
6+
baseUrl: 'http://todomvc.com/examples/angularjs',
7+
supportFile: false,
8+
},
9+
})

examples/blogs__direct-control-angular/cypress.json

-6
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const { defineConfig } = require('cypress')
2+
3+
module.exports = defineConfig({
4+
fixturesFolder: false,
5+
e2e: {
6+
baseUrl: 'http://localhost:7081',
7+
supportFile: false,
8+
},
9+
})

examples/blogs__e2e-api-testing/cypress.json

-6
This file was deleted.

examples/blogs__e2e-api-testing/package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
"start": "../../node_modules/.bin/json-server db.json --port 7081 --quiet",
1212
"start:windows": "bin-up json-server db.json --port 7081 --quiet",
1313
"test:ci": "../../node_modules/.bin/start-test 7081 cypress:run",
14-
"test:ci:record": "../../node_modules/.bin/start-test 7081 cypress:run:record",
15-
"test:ci:windows": "bin-up start-test start:windows 7081 cypress:run:windows",
16-
"test:ci:windows:record": "bin-up start-test start:windows 7081 cypress:run:windows:record"
14+
"test:ci:record": "../../node_modules/.bin/start-test 7081 cypress:run:record"
1715
}
1816
}

examples/blogs__e2e-snapshots/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
const { defineConfig } = require('cypress')
2+
3+
module.exports = defineConfig({
4+
video: false,
5+
e2e: {
6+
baseUrl: 'http://localhost:3700',
7+
setupNodeEvents (on, config) {
8+
// `on` is used to hook into various events Cypress emits
9+
// `config` is the resolved Cypress config
10+
on('task', {
11+
failed: require('cypress-failed-log/src/failed')(),
12+
})
13+
},
14+
},
15+
})

examples/blogs__e2e-snapshots/cypress.json

-4
This file was deleted.

0 commit comments

Comments
 (0)