Cross domain testing?

Get help with testing, discuss unit testing strategies etc.
Post Reply
User avatar
jminutella
Posts: 45
Joined: Wed Oct 19, 2016 3:03 pm

Cross domain testing?

Post by jminutella » Mon Mar 18, 2019 4:00 pm

Hi all,

I'm having a little difficulty trying to setup cross domain testing with Siesta. I'm running Siesta from my local project and trying to run tests on a test machine (ex. http://testmachine1.ourdomain.com/ourApp ) that has our web app on it. I followed these steps here but I'm wondering if anything has changed recently. https://www.bryntum.com/docs/siesta/#!/ ... ge_testing

Attached is a screenshot.

I noticed that the --disable-web-security flag is unsupported? Anyway - I'm running Chrome with the disable web security flag, I have the Ignore X-Frames header extension installed and I have the pageUrl and url configs set correctly pointing to the test system and the urls are valid.

Thanks!
Attachments
bryntum_cross_domain.png
bryntum_cross_domain.png (48.21 KiB) Viewed 161 times

User avatar
nickolay
Core Developer
Core Developer
Posts: 3329
Joined: Mon May 16, 2011 10:48 am

Re: Cross domain testing?

Post by nickolay » Mon Mar 18, 2019 7:55 pm

Hi,

Yes, unfortunately, it seems the --disable-web-security flag in Chrome is no longer supported. I could not make this setup to work recently either.

The best option would be to setup a redirect in your app, so that tests could reside on the same domain with your app itself.
We offer training in both Ext JS and our products, read more here.
Read the API documentation

Post Reply