Skip to content
Snippets Groups Projects
Commit c6ca7a00 authored by OZGCloud's avatar OZGCloud
Browse files

Merge branch 'master' into OZG-6102-admin-app-header

parents 569ed0d5 618a07c0
Branches
Tags
No related merge requests found
......@@ -67,6 +67,13 @@ module.exports = (on: any, config: any) => {
},
});
on('after:spec', (spec: Cypress.Spec, results: CypressCommandLine.RunResult) => {
if (results && results.video && results.stats.failures === 0) {
console.log(`Delete recorded video because spec passed: ${results.video}`);
fs.unlinkSync(results.video);
}
});
// Workaround für Angular 13 und Cypress mit Webpack 4,
// Siehe https://github.com/cypress-io/cypress/issues/19066#issuecomment-1012055705
// Entfernen, sobald Cypress Webpack 5 nutzt - https://github.com/cypress-io/cypress/issues/19555
......
{
"name": "alfa",
"version": "0.9.0-SNAPSHOT",
"version": "1.0.0-SNAPSHOT",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "alfa",
"version": "0.9.0-SNAPSHOT",
"version": "1.0.0-SNAPSHOT",
"license": "MIT",
"dependencies": {
"@angular/animations": "17.3.10",
{
"name": "alfa",
"version": "0.9.0-SNAPSHOT",
"version": "1.0.0-SNAPSHOT",
"license": "MIT",
"scripts": {
"start": "nx run alfa:serve --port 4300 --disable-host-check",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment