Skip to content
Snippets Groups Projects
Commit 13d82fe8 authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong:
Browse files

Merge branch 'cypress_1087189_extensions' into '2021.2.0'

Cypress 1087189 extensions

See merge request xrm/basic!1326
parents 95e53f26 2b216f9a
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ import './view'
import './actions'
import './indexer'
import './internal/taggingTests'
import './internal/resetData'
import 'cypress-wait-until'
import './enum.ts'
......
/// <reference types="cypress" />
declare namespace Cypress {
interface Chainable {
/**
* Executes the nodejs script reset:data
*/
resetData(): Chainable<any>;
}
}
Cypress.Commands.add('resetData', (pSearchWord) => {
cy.exec("npm run reset:data", { failOnNonZeroExit: false });
});
\ No newline at end of file
......@@ -12,6 +12,7 @@
"mochawesome-report-generator": "^5.2.0"
},
"scripts": {
"create:reports": "mochawesome-merge cypress/reports/temp/*.json > cypress/reports/combined-report.json && marge --reportDir ./ --inline cypress/reports/combined-report.json"
"create:reports": "mochawesome-merge cypress/reports/temp/*.json > cypress/reports/combined-report.json && marge --reportDir ./ --inline cypress/reports/combined-report.json",
"reset:data": "run reset.sh"
}
}
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