Skip to content

Commit

Permalink
chore: making the npm deps for vue, react, and vue2 use 0.0.0-dev (#2…
Browse files Browse the repository at this point in the history
…1081)

* chore: making the npm deps for vue, react, and vue2 use *

* use 0.0.0-development for mount-utils

* Make bundler system tests a little quicker / more resilient

Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
  • Loading branch information
JessicaSachs and tgriesser authored Apr 14, 2022
1 parent b0c8db3 commit 5615f79
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 6 deletions.
2 changes: 1 addition & 1 deletion npm/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
},
"dependencies": {
"@cypress/mount-utils": "file:../mount-utils",
"debug": "^4.3.2",
"find-webpack": "2.2.1",
"find-yarn-workspace-root": "2.0.0"
Expand All @@ -37,6 +36,7 @@
"@bahmutov/cy-api": "1.4.2",
"@bahmutov/cy-rollup": "2.0.0",
"@cypress/code-coverage": "3.9.4",
"@cypress/mount-utils": "0.0.0-development",
"@cypress/webpack-dev-server": "0.0.0-development",
"@date-io/date-fns": "1",
"@emotion/babel-preset-css-prop": "10.0.27",
Expand Down
3 changes: 3 additions & 0 deletions npm/vite-dev-server-fresh/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ export default defineConfig({
return await e2ePluginSetup(on, config)
},
},
retries: {
runMode: 2,
},
// @ts-ignore We are setting these namespaces in order to properly test Cypress in Cypress
clientRoute: '/__app/',
namespace: '__cypress-app',
Expand Down
2 changes: 1 addition & 1 deletion npm/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"test:ci:ct": "node ../../scripts/run-ct-examples.js --examplesList=./examples.env"
},
"dependencies": {
"@cypress/mount-utils": "file:../mount-utils",
"@vue/test-utils": "2.0.0-rc.19"
},
"devDependencies": {
Expand All @@ -25,6 +24,7 @@
"@babel/preset-env": "7.9.5",
"@babel/preset-typescript": "7.10.1",
"@cypress/code-coverage": "3.8.1",
"@cypress/mount-utils": "0.0.0-development",
"@cypress/webpack-dev-server": "0.0.0-development",
"@intlify/vue-i18n-loader": "2.0.0-rc.1",
"@rollup/plugin-commonjs": "^17.1.0",
Expand Down
2 changes: 1 addition & 1 deletion npm/vue2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"test-ci": "node ../../scripts/run-ct-examples.js --examplesList=./examples.env"
},
"dependencies": {
"@cypress/mount-utils": "file:../mount-utils",
"@vue/test-utils": "^1.1.3"
},
"devDependencies": {
"@cypress/mount-utils": "0.0.0-development",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.1.1",
Expand Down
3 changes: 3 additions & 0 deletions npm/webpack-dev-server-fresh/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export default defineConfig({
return await e2ePluginSetup(on, config)
},
},
retries: {
runMode: 2,
},
// @ts-ignore We are setting these namespaces in order to properly test Cypress in Cypress
clientRoute: '/__app/',
namespace: '__cypress-app',
Expand Down
3 changes: 3 additions & 0 deletions system-tests/project-fixtures/cra/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ export default defineConfig({
bundler: 'webpack',
},
},
// These tests should run quickly / fail quickly,
// since we intentionally causing error states for testing
defaultCommandTimeout: 1000
})
3 changes: 3 additions & 0 deletions system-tests/project-fixtures/nuxtjs2/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ export default defineConfig({
}
},
},
// These tests should run quickly / fail quickly,
// since we intentionally causing error states for testing
defaultCommandTimeout: 1000
})
3 changes: 3 additions & 0 deletions system-tests/project-fixtures/react/cypress-vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ export default defineConfig({
},
},
},
// These tests should run quickly / fail quickly,
// since we intentionally causing error states for testing
defaultCommandTimeout: 1000
})
3 changes: 3 additions & 0 deletions system-tests/project-fixtures/react/cypress-webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ module.exports = defineConfig({
},
},
},
// These tests should run quickly / fail quickly,
// since we intentionally causing error states for testing
defaultCommandTimeout: 1000
})
3 changes: 3 additions & 0 deletions system-tests/project-fixtures/vue-cli/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ export default defineConfig({
bundler: 'webpack'
}
},
// These tests should run quickly / fail quickly,
// since we intentionally causing error states for testing
defaultCommandTimeout: 1000
})
3 changes: 3 additions & 0 deletions system-tests/project-fixtures/vue2-cli/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ module.exports = {
bundler: 'webpack'
}
},
// These tests should run quickly / fail quickly,
// since we intentionally causing error states for testing
defaultCommandTimeout: 1000
}
3 changes: 0 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3292,9 +3292,6 @@
dependencies:
mocha ">=1.13.0"

"@cypress/mount-utils@file:npm/mount-utils":
version "0.0.0-development"

"@cypress/parse-domain@2.4.0":
version "2.4.0"
resolved "https://registry.yarnpkg.com/@cypress/parse-domain/-/parse-domain-2.4.0.tgz#3034b50babfd0adffa2a018aa03264b1e5be4d9e"
Expand Down

1 comment on commit 5615f79

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 5615f79 Apr 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.0.0/linux-x64/10.0-release-5615f79096fd8bd0b1338759d7e0d427d93eddba/cypress.tgz

Please sign in to comment.