Skip to content
Snippets Groups Projects
Commit 9e6d26fc authored by jurgenhaas's avatar jurgenhaas
Browse files

Merge branch 'develop' into 'main'

Merging develop into main

See merge request !44
parents 040d4fd5 70a5687a
No related branches found
Tags v3.7.57
1 merge request!44Merging develop into main
Pipeline #688035 passed
......@@ -186,7 +186,7 @@ class Handler extends BaseHandler {
],
'cypress' => [
'enable' => $this->env->receiveGlobal('CYPRESS', 'Cypress', '0'),
'version' => '10.8.0',
'version' => '11.1.0',
],
];
}
......@@ -557,6 +557,23 @@ class Handler extends BaseHandler {
'dest' => $projectRoot . '/tests',
],
];
if ($this->config->readValue(['cypress', 'enable'])) {
$files['cypress.config.js'] = [
'source' => 'tests/',
'dest' => $projectRoot . '/tests',
'add2git' => TRUE,
];
$files['commands.js'] = [
'source' => 'tests/cypress/support/',
'dest' => $projectRoot . '/tests/cypress/support',
'add2git' => TRUE,
];
$files['e2e.js'] = [
'source' => 'tests/cypress/support/',
'dest' => $projectRoot . '/tests/cypress/support',
'add2git' => TRUE,
];
}
if (getenv('LAKEDROPS_BUILD_NG') === 'yes') {
if ($this->config->readValue(['backup', 'enable'])) {
$files['config.yaml'] = [
......
const { defineConfig } = require('cypress')
module.exports = defineConfig({
e2e: {
watchForFileChanges: false,
setupNodeEvents(on, config) {
// implement node event listeners here
},
}
})
import '/e2escaffold/commands'
import './commands'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment