Hi all,
I'm hoping someone can help me out as I'm exhausted. I am trying to set up a karma runner for e2e tests using a Rails backend. My karma config is something like the following:
'test/karma/scenarios/*.js'
frameworks: ['ng-scenario'],
'karma-firefox-launcher',
outputFile: 'test_out/e2e.xml',
Karma launches fine and everything works for a test navigating to the root of the project. The problem occurs when we navigate to any other path such as "browser().navigateTo('partner/');"
At this point, the page loads for a split second and then karma and the browser choke with the following error:
Uncaught SecurityError: Blocked a frame with origin "http://localhost:9876" from accessing a cross-origin frame.
Any help or insight is greatly appreciated!
Thanks,
Adam