bulky-sundown-74498
05/03/2021, 5:35 PMbulky-sundown-74498
05/03/2021, 5:37 PMbulky-sundown-74498
05/03/2021, 5:38 PMif(window.parent)
and that's it... we stuggled a bit to find the culpritalert-photographer-39416
05/03/2021, 5:38 PMalert-photographer-39416
05/03/2021, 5:39 PMbulky-sundown-74498
05/03/2021, 5:39 PMbulky-sundown-74498
05/03/2021, 5:44 PMbulky-sundown-74498
05/03/2021, 5:44 PMbulky-sundown-74498
05/03/2021, 5:44 PMalert-photographer-39416
05/03/2021, 5:44 PMfuture-gold-77198
05/04/2021, 9:52 PMfuture-gold-77198
05/04/2021, 10:29 PMbulky-sundown-74498
05/05/2021, 1:29 AMfuture-gold-77198
05/05/2021, 4:01 AMpurple-afternoon-2408
05/07/2021, 4:11 AMtaskCoverage
is failing because of coverage no such file or directory coverage\...\node_modules\moment\locale sync ^\.*$.html
, can anyone help please?gray-kilobyte-89541
05/07/2021, 6:02 PMfuture-baker-50174
05/10/2021, 12:24 PMfuture-baker-50174
05/11/2021, 7:48 AMuser
05/11/2021, 12:17 PMbulky-sundown-74498
05/11/2021, 12:30 PMbulky-sundown-74498
05/11/2021, 12:30 PMpurple-afternoon-2408
05/12/2021, 1:16 AM"@cypress/code-coverage": "^3.9.2",
if this is what you are referring togray-kilobyte-89541
05/12/2021, 3:26 AMnutritious-restaurant-91514
05/12/2021, 8:01 PM.vue
components which look a little weird in the coverage report. it seems that the template and style is also getting instrumented, which (I guess) is not the thing I want.
the babel.config.js
I’m using has a configuration like this:
js
module.exports = {
presets: [
'@vue/app'
],
plugins: [
['babel-plugin-istanbul', {
extension: ['.ts', '.vue']
}]
]
}
If you have any idea what might be wrong about this, I’d be super happy if you help me. Have an awesome day!purple-afternoon-2408
05/13/2021, 5:52 AM"@cypress/code-coverage": "^3.9.5"
, but still I am getting an error:
CypressError: cy.task('coverageReport') timed out after waiting 180000ms.
https://on.cypress.io/api/task
Because this error occurred during a `after all` hook we are skipping all of the remaining tests.
at http://localhost:4200/__cypress/runner/cypress_runner.js:140408:19
at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:10791:23)
at http://localhost:4200/__cypress/runner/cypress_runner.js:5913:41
at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:10791:23)
at Promise._settlePromiseFromHandler (http://localhost:4200/__cypress/runner/cypress_runner.js:8726:31)
at Promise._settlePromise (http://localhost:4200/__cypress/runner/cypress_runner.js:8783:18)
at Promise._settlePromise0 (http://localhost:4200/__cypress/runner/cypress_runner.js:8828:10)
at Promise._settlePromises (http://localhost:4200/__cypress/runner/cypress_runner.js:8904:18)
at _drainQueueStep (http://localhost:4200/__cypress/runner/cypress_runner.js:5498:12)
at _drainQueue (http://localhost:4200/__cypress/runner/cypress_runner.js:5491:9)
at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:5507:5)
at Async.drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:5377:14)
From Your Spec Code:
at Context.generateReport (http://localhost:4200/__cypress/tests?p=cypress\support\index.ts:756:8)
purple-afternoon-2408
05/13/2021, 5:56 AMafter(function generateReport() {
// when all tests finish, lets generate the coverage report
const logInstance = Cypress.log({
name: 'Coverage',
message: ['Generating report [@cypress/code-coverage]']
})
cy.task('coverageReport', null, {
timeout: dayjs.duration(3, 'minutes').asMilliseconds(),
log: false
}).then((coverageReportFolder) => {
logInstance.set('consoleProps', () => ({
'coverage report folder': coverageReportFolder
}))
logInstance.end()
return coverageReportFolder
})
})
purple-afternoon-2408
05/14/2021, 12:11 AMDEBUG=cypress:*
, I see additional info:
CypressError: cy.task('combineCoverage') timed out after waiting 60000ms.
https://on.cypress.io/api/task
Because this error occurred during a `after each` hook we are skipping all of the remaining tests.
at http://localhost:4200/__cypress/runner/cypress_runner.js:140408:19
at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:10791:23)
at http://localhost:4200/__cypress/runner/cypress_runner.js:5913:41
at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:10791:23)
at Promise._settlePromiseFromHandler (http://localhost:4200/__cypress/runner/cypress_runner.js:8726:31)
at Promise._settlePromise (http://localhost:4200/__cypress/runner/cypress_runner.js:8783:18)
at Promise._settlePromise0 (http://localhost:4200/__cypress/runner/cypress_runner.js:8828:10)
at Promise._settlePromises (http://localhost:4200/__cypress/runner/cypress_runner.js:8904:18)
at _drainQueueStep (http://localhost:4200/__cypress/runner/cypress_runner.js:5498:12)
at _drainQueue (http://localhost:4200/__cypress/runner/cypress_runner.js:5491:9)
at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:5507:5)
at Async.drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:5377:14)
From Your Spec Code:
at sendCoverage (http://localhost:4200/__cypress/tests?p=cypress\support\index.ts:545:6)
at eval (http://localhost:4200/__cypress/tests?p=cypress\support\index.ts:658:7)
at Array.forEach (<anonymous>)
at Context.eval (http://localhost:4200/__cypress/tests?p=cypress\support\index.ts:657:27)
stocky-dream-36427
05/14/2021, 2:49 AMstocky-dream-36427
05/14/2021, 2:50 AM