Skip to content

Commit

Permalink
Merge pull request #3 from RedeMapas/feature/upgrade-cypress
Browse files Browse the repository at this point in the history
Atualiza configurações do cypress para utilizar versão 13
  • Loading branch information
lpirola authored May 20, 2024
2 parents f911f92 + c9ce7ae commit 49fa8d5
Show file tree
Hide file tree
Showing 42 changed files with 1,364 additions and 1,393 deletions.
10 changes: 0 additions & 10 deletions cypress/cypress.config.js

This file was deleted.

3 changes: 0 additions & 3 deletions cypress/cypress.json

This file was deleted.

5 changes: 0 additions & 5 deletions cypress/example.cy.js

This file was deleted.

27 changes: 0 additions & 27 deletions package.json

This file was deleted.

10 changes: 10 additions & 0 deletions src/cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
e2e: {

baseUrl: 'https://mapas.tec.br',
chromeWebSecurity: false,
setupNodeEvents(on, config) {
// implement node event listeners here
},
},
};
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.
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.
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.
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.
File renamed without changes.
20 changes: 20 additions & 0 deletions src/cypress/support/e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// ***********************************************************
// This example support/e2e.js is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************

// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
File renamed without changes.
36 changes: 19 additions & 17 deletions src/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{
"name": "mapasculturais",
"private": true,
"scripts": {
"dev": "pnpm run --parallel --recursive dev",
"build": "pnpm run --parallel --recursive build",
"watch": "pnpm run --parallel --recursive watch"
},
"devDependencies": {
"fast-glob": "^3.3.2",
"laravel-mix": "^6.0.49",
"postcss": "^8.4.31",
"@babel/preset-env": "*",
"resolve-url-loader": "^5.0.0",
"sass": "^1.69.5",
"sass-loader": "^12.6.0",
"webpack": "^5.89.0"
}
"name": "mapasculturais",
"private": true,
"scripts": {
"dev": "pnpm run --parallel --recursive dev",
"build": "pnpm run --parallel --recursive build",
"watch": "pnpm run --parallel --recursive watch",
"cypress:open": "npx cypress open",
"cypress:run": "npx cypress run"
},
"devDependencies": {
"fast-glob": "^3.3.2",
"laravel-mix": "^6.0.49",
"postcss": "^8.4.31",
"@babel/preset-env": "*",
"resolve-url-loader": "^5.0.0",
"sass": "^1.69.5",
"sass-loader": "^12.6.0",
"webpack": "^5.89.0"
}
}
Loading

0 comments on commit 49fa8d5

Please sign in to comment.