important-river-75795
09/27/2021, 8:22 PMimportant-river-75795
09/27/2021, 8:22 PMimportant-river-75795
09/27/2021, 8:22 PMnice-soccer-53564
09/27/2021, 10:33 PMuncaught:exception
inside beforeEach
block?
Is there a way for me to log the network failures?nice-soccer-53564
09/27/2021, 10:33 PMnice-soccer-53564
09/28/2021, 12:44 AM[23:39:48] cypress:launcher chrome stderr: [0927/233948.980903:INFO:CONSOLE(380)] "Failed to find a valid digest in the 'integrity' attribute for resource 'http://localhost:9995/webpack/en/main-938f5d17bbf554790715.chunk.js' with computed SHA-256 integrity 'jwyvL6w6ZOoyUngoSekrttm10Y0UEXB2BaZhxSl3fPU='. The resource has been blocked.", source: http://localhost:9995/login (380) +245ms
[23:39:48] cypress:launcher chrome stderr: [0927/233948.992494:INFO:CONSOLE(221)] "CYPRESS uncaught exception:::: ChunkLoadError: The following error originated from your application code, not from Cypress. It was caused by an unhandled promise rejection.
[23:39:48]
I saw that I can use experimentalSourceRewriting: true
option (https://github.com/cypress-io/cypress/issues/2393)
However, looks like cypress is injecting something into the page that has some mistake?nice-soccer-53564
09/28/2021, 12:44 AM[00:06:44] cypress:rewriter:js error while parsing JS { err: Error: Line 1: Unexpected token } at ErrorHandler.constructError (/home/helltool-ci-user/.cache/Cypress/8.4.1/Cypress/resources/app/packages/rewriter/node_modules/esprima/dist/esprima.js:3004:26) { index: 3, lineNumber: 1, description: 'Unexpected token }' }, js: 'n+e})),a&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},funct' } +365ms
nice-soccer-53564
09/28/2021, 1:06 AMred-easter-74903
09/28/2021, 4:41 PM"Error: Cannot find module 'webpack'"
when trying to do component testing? I'm having cypress running in a project that has a different folder structure where components are inside src and this inside a "frontend" folder. cypress modules are in the root and component tests are written inside src folder, frontend folder has a webpack folder with different configs, I tried using all configs and same error appeared. (Cypress folder is outside frontend folder)rough-nightfall-90576
09/28/2021, 11:26 PMimportant-river-75795
09/29/2021, 6:06 AMimportant-river-75795
09/29/2021, 6:07 AMfancy-airplane-60156
09/29/2021, 8:46 AMfancy-airplane-60156
09/29/2021, 8:47 AMfancy-airplane-60156
09/29/2021, 8:47 AMfancy-airplane-60156
09/29/2021, 8:47 AM../config/${version}.json
);
// change baseURL
config.baseUrl=config.env.baseUrl
return config;
}numerous-tiger-46628
09/29/2021, 9:01 AMfancy-airplane-60156
09/29/2021, 1:17 PMuser
10/01/2021, 3:40 PMselect()
in a generated cy.get(..).select("<I want to manipulate this>")
). Can it be done?narrow-hydrogen-62095
10/03/2021, 3:04 AMnarrow-hydrogen-62095
10/03/2021, 3:06 AMlate-house-1562
10/04/2021, 1:48 AMbulky-sundown-74498
10/05/2021, 12:11 AMlate-house-1562
10/05/2021, 2:11 AMbrief-egg-12332
10/05/2021, 12:25 PMcy.get("@alias.all")
and verify that the status is not "Complete" but it's a bit hacky
Does anyone know how could I check if the request was aborted with an AbortController ?
Here's a reproduction repo: https://github.com/Alvai/cypress-abort-controllerwhite-kite-70474
10/05/2021, 5:50 PMcuddly-winter-72122
10/07/2021, 5:32 PMbrief-egg-12332
10/07/2021, 5:38 PMbrief-egg-12332
10/07/2021, 5:38 PMworried-sunset-85459
10/07/2021, 10:20 PM