Closed ynnelson closed 3 years ago
I should add that the window that is firing off those calls is a secondary window and not the main window. Not sure if it matters, need to further test to see if the multiple windows is the cause...any input would be appreciated.
I tried to make a bare bones simple sample Electron app, but in this sample app I run up against CORS issue I am unsure how to resolve because I don't control the API server, I used https://jsonplaceholder.typicode.com/ for a dummy API. So I can't demonstrate the behavior I am seeing in my actual app.
Any guidance here would be helpful.
I didn't manage to reproduce the error you mentioned. Also, I could not install the application you sent. When trying to install the dependencies, I got an error:
Could you please describe the steps I need to follow to install and run your example so that I can get to the error you mentioned?
This issue was automatically closed because there was no response to our request for more information from the original author. Currently, we don't have enough information to take action. Please reach out to us if you find the necessary information and are able to share it. We are also eager to know if you resolved the issue on your own and can share your findings with everyone.
I am having issues when trying to Mock HTTP Request in my Electron App using
TestCafe
I placed a console log in a mock request to see all the calls that were coming through but none of my http requests originated from my React Component or the main process came through.
The only thing that came through were resources request like this one but none of the calls I make in my component using axios.
Has anyone successfully setup a Mock Request using
TestCafe
in an Electron app? if so what am i missing?here are some of the versions I am running, I can paste the whole file is useful.