loud-honey-66910
02/27/2022, 9:39 PMloud-honey-66910
02/27/2022, 9:52 PMglamorous-monkey-67605
02/28/2022, 7:44 PMglamorous-monkey-67605
02/28/2022, 7:51 PMloud-honey-66910
03/01/2022, 6:50 AMcool-laptop-34247
03/01/2022, 8:27 AMfaint-florist-23700
03/01/2022, 1:06 PMadventurous-dream-20049
03/02/2022, 2:23 AMdamp-wire-36279
03/02/2022, 6:18 AMfaint-florist-23700
03/02/2022, 7:56 AMnice-machine-16386
03/03/2022, 3:47 PMimportant-river-75795
03/03/2022, 7:28 PMmysterious-area-98742
03/04/2022, 9:09 AM/usr/local/bin/npx cypress cache list
āāāāāāāāāāā¬āāāāāāāāāāāāāāā
ā version ā last used ā
āāāāāāāāāāā¼āāāāāāāāāāāāāāā¤
ā 3.8.3 ā a minute ago ā
āāāāāāāāāāā¼āāāāāāāāāāāāāāā¤
ā 9.4.1 ā a minute ago ā
āāāāāāāāāāā¼āāāāāāāāāāāāāāā¤
ā 9.5.1 ā 4 days ago ā
āāāāāāāāāāā“āāāāāāāāāāāāāāā
build app command "npm run build"
enough-plastic-87422
03/04/2022, 5:19 PMmillions-spoon-12901
03/04/2022, 6:31 PMenough-plastic-87422
03/04/2022, 6:37 PMmillions-spoon-12901
03/04/2022, 6:39 PMenough-plastic-87422
03/04/2022, 6:46 PMmillions-spoon-12901
03/04/2022, 6:50 PMenough-plastic-87422
03/04/2022, 6:51 PMmillions-spoon-12901
03/04/2022, 6:53 PMenough-plastic-87422
03/04/2022, 6:56 PMadorable-nightfall-93018
03/07/2022, 7:46 AMjavascript
Error: Webpack Compilation Error
./tests/e2e/specs/requestDetails/application/applicationE2E.ts 300:101
Module parse failed: Unexpected token (300:101)
File was processed with these loaders:
* ../../../Library/Caches/Cypress/9.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/ts-loader/index.js
You may need an additional loader to handle the result of these loaders.
| getCopyBtn("connectee", "assetAddress").click();
| cy.get("[data-cy='record-section-assetAddress-street-value']").then((street) => {
> cy.get(`[data-cy="record-card-connectee"]`).should("contain.text", street.val() ?? "-");
| });
| cy.get("[data-cy='discard-request-changes-and-cancel-edit-mode']").click();
looks to me that cypress is not able to process the Nullish coalescing operator (??). The same error appears with the Optional chaining (?.) operator.
Do you know what i can do so that cypress likes my operators again?
Here my tsconfig.json
json
{
"compilerOptions": {
"noEmit": true,
"types": ["cypress", "cypress-file-upload", "node"]
},
"include": ["./**/*.ts", "support/commands.js"],
}
Thanks in advance šadorable-nightfall-93018
03/07/2022, 8:37 AMcompilerOptions
need to have target
set to es2019
red-smartphone-4834
03/08/2022, 8:20 AMred-smartphone-4834
03/08/2022, 8:26 AMcy.location('search')
.should('eq', `?${filters.first.key}=${filters.first.value}&${filters.second.key}=${filters.second.value}`)
It gives me the message "No tests found"
But when I change it to:
cy.location('search')
.should('eq', ' ?' + filters.first.key + '=' + filters.first.value + '&' + filters.second.key + '=' + filters.second.value)
All the tests are recognised and run!
Side note, this does work:
cy.location('search')
.should('eq', `?${filters.first.key}=R007`)
loud-honey-66910
03/08/2022, 8:27 AMloud-honey-66910
03/08/2022, 8:27 AMloud-honey-66910
03/08/2022, 9:14 AMred-ghost-44720
03/08/2022, 9:29 AM