A
A
Arx7772015-10-07 13:48:16
PHP
Arx777, 2015-10-07 13:48:16

Error running Codeception test?

Error when trying to perform button click (to cart) and Ajax submit

XMLHttpRequest cannot load file:///cart/add/?r=0.7953918976709247 . Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.x.ajaxTransport.n.send @ jquery.min. js: [email protected] js:6$addToCartFunction @ scripts.js?v=100915_2:88x.event.dispatch @ jquery.min. js:5x.event.add.v.handle @ jquery.min.js:5
WelcomeCept.fail.html:1 XMLHttpRequest cannot load https://mc.yandex.ru/webvisor/325470900?rn=8532994... . No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.


Installed http-server and ran as indicated here , but it didn't help

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question