Skip to content

Commit

Permalink
Update Cypress plugin config
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroborges committed Sep 26, 2024
1 parent f01fff5 commit 88392ac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import { defineConfig } from 'cypress'
const { defineConfig } = require('cypress')

export default defineConfig({
module.exports = defineConfig({
e2e: {
specPattern: 'cypress/integration/*.{js,jsx,ts,tsx}',
baseUrl: 'http://localhost:13715',
setupNodeEvents(on, config) {
require('cypress-fail-fast/plugin')(on, config)
},
video: false,
screenshotOnRunFailure: false,
retries: {
Expand Down
23 changes: 0 additions & 23 deletions packages/vue2/tests/cypress/plugins/index.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/vue2/tests/cypress/support/e2e.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'cypress-fail-fast'
// ***********************************************************
// This example support/index.js is processed and
// loaded automatically before your test files.
Expand All @@ -16,6 +15,7 @@ import 'cypress-fail-fast'

// Import commands.js using ES2015 syntax:
import './commands'
import 'cypress-fail-fast'

// Alternatively you can use CommonJS syntax:
// require('./commands')

0 comments on commit 88392ac

Please sign in to comment.