You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Project using google maps, during tests polly intercepting request to https://map.googleapis.com and seems want to set
its responseType, but since this is syncrhonous request browser throws error.
Tried to use client side server to passtrhough all requests to map.googleapis.com but it is not helping. In the end run polly
in passthrough mode, but even in this case get same error.
Shareable Source
I setup polly in index.js, root file for react application (testname set from cypress test code):
DOMException: Failed to set the 'responseType'
property on 'XMLHttpRequest': The response type cannot be changed for
synchronous requests made from a document
at XHRAdapter_callee$
Tell us which operating system you are using, as well as which versions of Node.js and npm/yarn. If applicable, include the browser and the corresponding version.
Run the following to get it quickly:
linux ubuntu 16.04
npm 6.14.4
node 12.16.3
The text was updated successfully, but these errors were encountered:
Prerequisites
ubuntu 16.04
node 12.16.3
cypress: 4.11.0
pollyjs: 5.0.0
Description
Project using google maps, during tests polly intercepting request to https://map.googleapis.com and seems want to set
its responseType, but since this is syncrhonous request browser throws error.
Tried to use client side server to passtrhough all requests to map.googleapis.com but it is not helping. In the end run polly
in passthrough mode, but even in this case get same error.
Shareable Source
I setup polly in index.js, root file for react application (testname set from cypress test code):
Error Message & Stack Trace
Config
Dependencies
Copy the @pollyjs dependencies from
package.json
:Relevant Links
Environment
Tell us which operating system you are using, as well as which versions of Node.js and npm/yarn. If applicable, include the browser and the corresponding version.
Run the following to get it quickly:
The text was updated successfully, but these errors were encountered: