Advent day 20: How to access a custom HTTPS domain using the "hosts" option in the cypress.json file
How can we map port with IP address?
I have tried to pass the port with base url. That works. But internal document fetching calls where app fetches js documents and other xhr calls are still going to the domain without port. Which is causing them to return no value.
I am sorry, I don't understand the question. Could you ask your Cypress question at https://on.cypress.io/chat or https://on.cypress.io/discord or the specific repo via GH issues? It will be easier for your to provide code snippets, screenshots, etc to explain what you are trying to do. You could also help me answer Cypress-related questions faster by supporting me via GitHub sponsors https://github.com/sponsors/bahmutov, by buying my Cypress courses at https://cypress.tips/courses, or by inviting me to teach Cypress https://cypress.tips/workshops
How does host settings work for version 10 and above?
I believe the same way, I don't think this option has changed
How can we map port with IP address?
I have tried to pass the port with base url. That works. But internal document fetching calls where app fetches js documents and other xhr calls are still going to the domain without port. Which is causing them to return no value.
I am sorry, I don't understand the question. Could you ask your Cypress question at https://on.cypress.io/chat or https://on.cypress.io/discord or the specific repo via GH issues? It will be easier for your to provide code snippets, screenshots, etc to explain what you are trying to do. You could also help me answer Cypress-related questions faster by supporting me via GitHub sponsors https://github.com/sponsors/bahmutov, by buying my Cypress courses at https://cypress.tips/courses, or by inviting me to teach Cypress https://cypress.tips/workshops
How does host settings work for version 10 and above?
I believe the same way, I don't think this option has changed