Hey, I'm having two issues that I was hoping you could help me work through.
When I run ng e2e using @briebug/cypress-schematic, it sets the baseUrl to http://localhost:4200. Cypress tells me this is being set in the cli. I need the baseUrl to be: http://localhost.localdomain:8080 for reasons relating the nginx being configured a specific way for the local backend. I can't figure out how to override this value. cypress.json doesn't do it, setting an environment variable in linux doesn't do it. How can I set the baseUrl to what I need?
I get the error: ⚠️ Code coverage tasks were not registered by the plugins file. See support issue for possible workarounds. [@cypress/code-coverage] I can't make sense of this error, since I followed the steps in this guide, and I have require('@cypress/code-coverage/task')(on, config); in my index.js file.
Please help!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey, I'm having two issues that I was hoping you could help me work through.
When I run
ng e2e
using@briebug/cypress-schematic
, it sets the baseUrl tohttp://localhost:4200
. Cypress tells me this is being set in the cli. I need the baseUrl to be:http://localhost.localdomain:8080
for reasons relating the nginx being configured a specific way for the local backend. I can't figure out how to override this value. cypress.json doesn't do it, setting an environment variable in linux doesn't do it. How can I set the baseUrl to what I need?I get the error:
⚠️ Code coverage tasks were not registered by the plugins file. See support issue for possible workarounds. [@cypress/code-coverage]
I can't make sense of this error, since I followed the steps in this guide, and I haverequire('@cypress/code-coverage/task')(on, config);
in my index.js file.Please help!