Skip to content

Commit

Permalink
test: update cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Sep 30, 2023
1 parent dabdc35 commit f8e6326
Show file tree
Hide file tree
Showing 22 changed files with 45 additions and 92 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/nuxt3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@histoire/plugin-nuxt": "workspace:*",
"@histoire/plugin-vue": "workspace:*",
"@nuxtjs/tailwindcss": "^6.8.0",
"cypress": "^10.11.0",
"cypress": "^13.3.0",
"histoire": "workspace:*",
"nuxt": "^3.7.3",
"start-server-and-test": "^1.15.4",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/svelte4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"devDependencies": {
"@histoire/plugin-svelte": "workspace:*",
"@sveltejs/vite-plugin-svelte": "^2.4.5",
"cypress": "^10.11.0",
"cypress": "^13.3.0",
"histoire": "workspace:*",
"start-server-and-test": "^1.15.4",
"svelte-preprocess": "^5.0.4",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue3/cypress-parallel.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const thisRunner = parseInt(process.env.THIS_RUNNER)
// import them here and in cypress.config, so that both files use
// the same values.
const specPatterns = {
specPattern: './cypress/integration/*.{ts,tsx,js,jsx}',
specPattern: './**/*.cy.{ts,tsx,js,jsx}',
excludeSpecPattern: ['tsconfig.json'],
}

Expand Down
21 changes: 21 additions & 0 deletions examples/vue3/cypress.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { defineConfig } from 'cypress'

export default defineConfig({
viewportWidth: 1280,
viewportHeight: 768,
chromeWebSecurity: false,

retries: {
runMode: 2,
openMode: 0,
},

e2e: {
baseUrl: 'http://localhost:4567',
setupNodeEvents (on, config) {
// implement node event listeners here
},
},

video: false,
})
11 changes: 0 additions & 11 deletions examples/vue3/cypress.json

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@histoire/plugin-vue": "workspace:*",
"@histoire/vendors": "workspace:*",
"@vitejs/plugin-vue": "^4.2.3",
"cypress": "^9.7.0",
"cypress": "^13.3.0",
"globby": "^13.2.2",
"histoire": "workspace:*",
"minimatch": "^5.1.6",
Expand Down
97 changes: 20 additions & 77 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f8e6326

Please sign in to comment.