ITISFoundation / osparc-simcore

🐼 osparc-simcore simulation framework
https://osparc.io
MIT License
43 stars 27 forks source link

🎨 [Frontend] Switch to iframe's content also after 302 response #5963

Closed odeimaiz closed 3 months ago

odeimaiz commented 3 months ago

What do these changes do?

Sometimes webkit based e2e tests still fail when switching from the loading page to the iframe's content.

The problem is that the frontend polls the state of the dynamic service and when this says Ready (which is the containers status) the frontend still needs to make sure the url is reachable, because some traefik rules that need to be added might not be there yet. In this "ping" call from the frontend to the dynamic service's content, the backend might respond with a 302 Redirection Found, which is not ok, but it's still valid for a our purpose.

Related issue/s

How to test

Dev-ops checklist