echoing-painting-40909
06/15/2022, 6:47 AMworried-parrot-50579
06/15/2022, 7:16 AMadventurous-postman-3917
06/15/2022, 7:29 AMwatchForFileChanges: false
to your cypress config file
const { defineConfig } = require('cypress')
module.exports = defineConfig({
watchForFileChanges: false, // HERE is what you want
e2e: {
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config)
},
},
})
worried-parrot-50579
06/15/2022, 7:39 AMacceptable-insurance-98935
06/15/2022, 7:43 AM{
"name": "CombinedError",
"message": "[GraphQL] EISDIR: illegal operation on a directory, read",
"graphQLErrors": [
{
"message": "EISDIR: illegal operation on a directory, read",
"path": [
"migration",
"configAfterCode"
],
"extensions": {}
}
],
"response": {}
}
I already uninstalled all third party npm packages and also tryed other cypress versions (like lates cypress 9).
Now my questions are:
- Are there any possibilities to do the migration manually or via cli which shows cypress that the migration is already done?
- Is this issue know and is there a solution to this?adventurous-postman-3917
06/15/2022, 7:57 AMadamant-memory-22241
06/15/2022, 8:13 AMadventurous-postman-3917
06/15/2022, 8:15 AMgentle-accountant-4760
06/15/2022, 8:33 AMgentle-accountant-4760
06/15/2022, 11:45 AMExpected to return a value at the end of arrow
where I read in the docs that I could return false if I want to end the loop eariler?gray-kilobyte-89541
06/15/2022, 12:06 PMgentle-accountant-4760
06/15/2022, 12:08 PMgray-kilobyte-89541
06/15/2022, 12:08 PMgentle-accountant-4760
06/15/2022, 12:09 PMgray-kilobyte-89541
06/15/2022, 12:09 PMelse
block (implied after if with return)gentle-accountant-4760
06/15/2022, 12:10 PMts
cy.get('[data-ui-action="product-add"]').each((cwt, index) => {
if (cwt.text().includes('custom')) {
cy.get(`li[data-ui-id="${index}"]`).click();
return false;
}
return true;
});
echoing-painting-40909
06/15/2022, 12:10 PM.each
directly.gentle-accountant-4760
06/15/2022, 12:10 PMgentle-accountant-4760
06/15/2022, 12:11 PMgentle-accountant-4760
06/15/2022, 12:12 PMacoustic-doctor-39144
06/15/2022, 12:58 PMacoustic-doctor-39144
06/15/2022, 12:58 PMacceptable-insurance-98935
06/15/2022, 1:09 PMwitty-kite-3465
06/15/2022, 1:16 PMsupport/index.ts
) Instructions I tried to follow are from https://docs.cypress.io/guides/tooling/typescript-support#Types-for-Custom-Commandswitty-kite-3465
06/15/2022, 1:17 PMhigh-kangaroo-57423
06/15/2022, 1:54 PMkind-pizza-45261
06/15/2022, 2:33 PMaloof-midnight-3678
06/15/2022, 2:45 PMgray-kilobyte-89541
06/15/2022, 3:08 PMhappy-rose-36850
06/15/2022, 3:22 PM