mysterious-belgium-25713
10/11/2022, 8:52 PMmysterious-belgium-25713
10/11/2022, 9:09 PMjs
import { defineConfig } from "cypress";
const execSql = (sql, config) => {
return new Promise((res, rej) =>{
//rest of you code
})
}
export default defineConfig({
e2e: {
setupNodeEvents(on, config) {
on('task', {
taskSqlServerSistema(sql){
return execSql(sql, dbconfig.sistema.database)
}
})
on('task', {
taskSqlServerCobranca(sql){
return execSql(sql, dbconfig.cobranca.database)
}
})
},
},
});
prehistoric-restaurant-72560
10/11/2022, 9:14 PMicy-alarm-88737
10/11/2022, 9:54 PMicy-alarm-88737
10/11/2022, 9:56 PMhttps://i.imgur.com/emhu7Y0.png▾
icy-alarm-88737
10/11/2022, 9:57 PMhttps://i.imgur.com/ysegnFN.png▾
happy-megabyte-98400
10/11/2022, 9:58 PMicy-alarm-88737
10/11/2022, 10:06 PMicy-alarm-88737
10/11/2022, 10:06 PMicy-alarm-88737
10/11/2022, 10:54 PMcalm-petabyte-36221
10/12/2022, 8:37 AMFailed to fetch dynamically imported module: http://localhost:8080/my_path/cypress/support/component.js
The support/component.js
contains the default generated content from cypress, nothing else.
In the Cypress CLI (even with DEBUG=cypress:*
), there is no error, except GET /__cypress/src/cypress-support-file.js 404
Is someone facing the same issue? Do you have any idea on how to get the real error to fix it?ancient-tailor-59288
10/12/2022, 10:22 AMmysterious-belgium-25713
10/12/2022, 10:34 AMmysterious-belgium-25713
10/12/2022, 10:35 AMmysterious-belgium-25713
10/12/2022, 12:01 PMcold-van-45410
10/12/2022, 12:04 PMgifted-jackal-27275
10/12/2022, 1:56 PMmysterious-belgium-25713
10/12/2022, 2:46 PMmysterious-belgium-25713
10/12/2022, 2:47 PMmysterious-belgium-25713
10/12/2022, 2:48 PMbright-eve-71344
10/12/2022, 2:52 PMgifted-jackal-27275
10/12/2022, 2:55 PMmysterious-belgium-25713
10/12/2022, 2:56 PMgifted-jackal-27275
10/12/2022, 2:56 PMmysterious-belgium-25713
10/12/2022, 2:57 PMgifted-jackal-27275
10/12/2022, 2:58 PMmysterious-belgium-25713
10/12/2022, 3:00 PMmysterious-belgium-25713
10/12/2022, 3:00 PMmysterious-belgium-25713
10/12/2022, 3:00 PM