mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-02-10 08:46:44 +00:00
add cypress grep
This commit is contained in:
parent
21e3786377
commit
fbab4e0ea9
@ -6,8 +6,9 @@ module.exports = defineConfig({
|
|||||||
chromeWebSecurity: false,
|
chromeWebSecurity: false,
|
||||||
e2e: {
|
e2e: {
|
||||||
baseUrl: 'http://localhost:7001',
|
baseUrl: 'http://localhost:7001',
|
||||||
setupNodeEvents(_on, _config) {
|
setupNodeEvents(_on, config) {
|
||||||
// implement node event listeners here
|
require('@cypress/grep/src/plugin')(config);
|
||||||
|
return config;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -16,5 +16,9 @@
|
|||||||
// Import commands.js using ES2015 syntax:
|
// Import commands.js using ES2015 syntax:
|
||||||
import './commands';
|
import './commands';
|
||||||
|
|
||||||
|
import registerCypressGrep from '@cypress/grep';
|
||||||
|
|
||||||
|
registerCypressGrep();
|
||||||
|
|
||||||
// Alternatively you can use CommonJS syntax:
|
// Alternatively you can use CommonJS syntax:
|
||||||
// require('./commands')
|
// require('./commands')
|
||||||
|
1152
spiffworkflow-frontend/package-lock.json
generated
1152
spiffworkflow-frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -96,6 +96,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@cypress/grep": "^3.1.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
||||||
"@typescript-eslint/parser": "^5.30.6",
|
"@typescript-eslint/parser": "^5.30.6",
|
||||||
"cypress": "^10.8.0",
|
"cypress": "^10.8.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user