Saturday, July 20, 2013

Magento error [FIXED]: "Please enable cookies in your browser" just with Internet explorer and Chrome.


There can be some reasons why Magento issues the “enable cookies” page.
In my case, it was because Chrome and IE don't use localhost as a domain for Magento.




The solution was calling my SUT url (testng.xml) using the network IP instead of localhost or 127.0.0.1. i.e 192.168.0.123.

After restarting my isolated environment, the issue was solved.
Conclusion: User your network IP when you are running Magento as localhost for cross browsing testing. Firefox does not face this issue.. who knows why... haha.