Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
update to cy10.7
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiggr committed Sep 13, 2022
1 parent 146cdf4 commit dbeedaa
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 20 deletions.
26 changes: 26 additions & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
const { defineConfig } = require('cypress')

module.exports = defineConfig({
viewportWidth: 1280,
defaultCommandTimeout: 8888,
reporter: 'junit',
video: true,
reporterOptions: {
mochaFile: 'cypress/reports/cypress-[hash].xml',
jenkinsMode: true,
toConsole: true,
},
chromeWebSecurity: false,
retries: {
runMode: 8,
openMode: 0,
},
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config)
},
baseUrl: 'http://localhost:3000',
},
})
17 changes: 0 additions & 17 deletions cypress.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { setupBeforeEach, tearDownAfterEach } from '../support';
import { setupBeforeEach, tearDownAfterEach } from '../support/e2e';

describe('Blocks Tests', () => {
beforeEach(setupBeforeEach);
Expand Down
File renamed without changes.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"@eeacms/volto-matomo"
],
"dependencies": {
"@eeacms/volto-eea-map": "*",
"@eeacms/volto-addons-forest": "*",
"@eeacms/volto-datablocks": "*",
"@eeacms/volto-eea-map": "*",
"@eeacms/volto-matomo": "*",
"@eeacms/volto-openlayers-map": "0.1.4",
"@eeacms/volto-plotlycharts": "*",
Expand All @@ -38,7 +38,8 @@
},
"devDependencies": {
"@cypress/code-coverage": "^3.9.5",
"babel-plugin-transform-class-properties": "^6.24.1"
"babel-plugin-transform-class-properties": "^6.24.1",
"cypress": "10.7.0"
},
"scripts": {
"release": "release-it",
Expand Down

0 comments on commit dbeedaa

Please sign in to comment.