Applitools-Dev / eyes.teamcity

Applitools Eyes plugin for TeamCity
Other
1 stars 2 forks source link

Server cannot load un-authed report #3

Open AndyBarnettCTM opened 5 years ago

AndyBarnettCTM commented 5 years ago

Hi! Very excited to use this plugin.

However, I just installed it and I'm immediately getting a problem. The overview tab which is trying to display the results looks like this:

Screen Shot 2019-07-18 at 13 49 58

I checked the network request, and it's attempting to hit:

https://eyes.applitools.com/app/batchesnoauth/?startInfoBatchId=teamcity-generated-id&hideBatchList=true&intercom=false (where I have replaced the batchID for security reasons).

When I hit this URL whilst being logged into applitools, the test run does load, but only after being redirected twice, as such:

301 https://eyes.applitools.com/?startInfoBatchId=teamcity-generated-id&hideBatchList=true&intercom=false 200 https://eyes.applitools.com/app/test-results?startInfoBatchId=teamcity-generated-id&hideBatchList=true&intercom=false

I couldn't find anywhere in teamcity to give authentication to this plugin, and it is hitting an API endpoint of "batchesnoauth", so I'm assuming it's not supposed to need authentication?

I have restarted both the server and the agent, and I can see logs from the plugin working as expected, like:

APPLITOOLS_PROJECT_SERVER_URL = https://eyes.applitools.com APPLITOOLS_BATCH_ID = APPLITOOLS_BATCH_NAME = Visual Regression Tests

We are using the regular Applitools service, not an in-built customer one, so we left the server URL default. Also, our server is open to making egress calls out to the web. Would we have to whitelist Applitools IPs for responses or anything?

nathalieflower commented 4 years ago

Hi Applitools team!

We are having the same issue - would be really great if you had a fix.

Thanks

Nathalie