Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cy.origin GA release #17336

Open
jennifer-shehane opened this issue Jul 14, 2021 · 27 comments · Fixed by #18075
Open

cy.origin GA release #17336

jennifer-shehane opened this issue Jul 14, 2021 · 27 comments · Fixed by #18075
Labels
E2E-auth Epic stage: backlog type: feature

Comments

@jennifer-shehane
Copy link
Member

@jennifer-shehane jennifer-shehane commented Jul 14, 2021

This issue is used for tracking work required to provide 'multidomain' support, closing #944

Work being done in https://github.com/cypress-io/cypress/tree/feature-multidomain branch currently.

Some issues covering this work below, but any issue prefixed with "Mult-domain" needs to be delivered.

@jennifer-shehane jennifer-shehane added the Epic label Jul 14, 2021
@jennifer-shehane jennifer-shehane changed the title Multidomain Support: Used for tracking Multidomain Support Jul 14, 2021
@Amrita19900406
Copy link

@Amrita19900406 Amrita19900406 commented Jul 16, 2021

Is there any update on this?

@narayananpalani
Copy link

@narayananpalani narayananpalani commented Jul 17, 2021

Any update on this since this is a most awaited feature to have in cypressIO?

@jennifer-shehane jennifer-shehane added the stage: work in progress label Jul 20, 2021
@jennifer-shehane
Copy link
Member Author

@jennifer-shehane jennifer-shehane commented Jul 20, 2021

The work for this is in progress. There's a lot of work required and you can track all work in this branch: https://github.com/cypress-io/cypress/tree/feature-multidomain?rgh-link-date=2021-07-14T18%3A40%3A41Z

@anthonyp
Copy link

@anthonyp anthonyp commented Aug 3, 2021

Really need this for testing a Firebase Auth flow. 😁 Hoping we see a release soon.

@MaxVolobuev
Copy link

@MaxVolobuev MaxVolobuev commented Aug 11, 2021

waiting for supporting several domains!

@AndreyYevtukhov
Copy link

@AndreyYevtukhov AndreyYevtukhov commented Oct 13, 2021

Do you have some estimation, when this feature is going to be delivered?


The code is a complete mess without it and everyone who uses Auth0 of similar services has constant issues with it.


https://github.com/cypress-io/cypress/commits/feature-multidomain -> it seems like there is not much progress so far, only fixes and merges...

@JamboBuenna
Copy link

@JamboBuenna JamboBuenna commented Oct 18, 2021

The amount of AaaS providers that are recommending people move to additional tools instead of Cypress due to this are growing fast.

@dmitry
Copy link

@dmitry dmitry commented Oct 19, 2021

The amount of AaaS providers that are recommending people move to additional tools instead of Cypress due to this are growing fast.

What is AaaS?

@GaxZE
Copy link

@GaxZE GaxZE commented Oct 19, 2021

Going to guess, Automation as a Service?

@AlexDaniel
Copy link

@AlexDaniel AlexDaniel commented Oct 28, 2021

Question! Is there any way we can already start using it partially? For example, there's a ticket “Remove need for hard-coded domain”, but actually I'd be happy to configure a list of hard-coded domains that I use, there's no need for cypress to detect anything automatically for my use case. So basically, if something is already working partially, is it possible to start using it? And if not, any chance to have a half-baked solution that works?

@MariyaQA
Copy link

@MariyaQA MariyaQA commented Oct 28, 2021

Still waiting and hoping of multidomain support =^_^=

@jennifer-shehane
Copy link
Member Author

@jennifer-shehane jennifer-shehane commented Nov 2, 2021

This work is still in progress. We have an extremely basic working example that will not currently work in the majority of cases because there's still a lot of work to be done.

Regarding the "Remove need for hard-coded domain" - the branch was made to work for an exact hard-coded 127.0.0.1 domain to switch to another domain, so this does not mean that any domain could be hard coded to work.

Anyone is welcome to pull down the branch and work with it. This is open source, but I doubt there will be much value in it in its current state.

This is our highest priority work alongside WebKit support, so it is a core focus of ours. We hope to parallelize the work soon as we make progress on some core work necessary to unblock that.

@bmuenzenmeyer
Copy link

@bmuenzenmeyer bmuenzenmeyer commented Nov 16, 2021

What is AaaS?

Authorization as a Service fits the context here better in my opinion - Auth0, Okta, etc

@modern-sapien
Copy link

@modern-sapien modern-sapien commented Dec 1, 2021

Do you have some estimation, when this feature is going to be delivered?

The code is a complete mess without it and everyone who uses Auth0 of similar services has constant issues with it.

@AndreyYevtukhov are you currently using the Cypress Auth0 authorization patterns for navigating this? Can you share more about your experience?

Guide: Auth0 Authentication

@GaxZE
Copy link

@GaxZE GaxZE commented Dec 1, 2021

Any tips for approach for doing tests for something like a content management system. Create and publish a page on one url and then view the end result on another?

@AndreyYevtukhov
Copy link

@AndreyYevtukhov AndreyYevtukhov commented Dec 2, 2021

Do you have some estimation, when this feature is going to be delivered?
The code is a complete mess without it and everyone who uses Auth0 of similar services has constant issues with it.

@AndreyYevtukhov are you currently using the Cypress Auth0 authorization patterns for navigating this? Can you share more about your experience?

Guide: Auth0 Authentication

Auth0 does not have an API to authenticate users from organizations... (https://auth0.com/docs/organizations)

That's why we have to authenticate test-users using redirects, UI, requests interception, saving tokens in the files, and reading them before tests... Probably it is not a Cypress issue itself, functionality is missed (or closed) in API from the Auth0 side.

Still, it is not possible to open 2 different domains in 1 test (because it is not supported by Cypress) which would make this "flow" much easier and faster...

@seidhkona
Copy link

@seidhkona seidhkona commented Feb 15, 2022

Is there any update on this issue?

@ganeshac123
Copy link

@ganeshac123 ganeshac123 commented Feb 16, 2022

@jennifer-shehane Any update on this issue?

1 similar comment
@dsierrase
Copy link

@dsierrase dsierrase commented Mar 15, 2022

@jennifer-shehane Any update on this issue?

@ganeshac123
Copy link

@ganeshac123 ganeshac123 commented Mar 16, 2022

@jennifer-shehane @cy-veronica @cypress-app-bot @cypress-github-team-services-sa Any updates on this issue?
Many customers waiting for your inputs

@ianjamieson
Copy link

@ianjamieson ianjamieson commented Mar 16, 2022

For those wanting updates, see the commits happening on this branch

@thedotedge
Copy link

@thedotedge thedotedge commented Mar 29, 2022

Really looking forward to a release, any ETA? The branch is quite active, which is great, but it's unclear how much is left 🤔

@ganeshac123
Copy link

@ganeshac123 ganeshac123 commented Apr 7, 2022

Really looking forward to a release, any ETA for this release ? @anthonyp @ianjamieson @jennifer-shehane @cy-veronica @cypress-app-bot

@mjhenkes
Copy link
Member

@mjhenkes mjhenkes commented Apr 7, 2022

Hey guys, cypress dev here. 👋
First of all thank you all for your patience on this issue, it's been a long time coming. We're diligently working away to add this feature on the feature-multidomain branch. You can follow along on our pull request #18075 as the feature gets pulled into the develop branch.

This feature will be released at first as an experimental feature so we can gather feedback from you all before it becomes generally available in a future major release.

As for timelines, take this with a grain of salt, but we're expecting to release the experimental version within the next couple of months.

@jennifer-shehane jennifer-shehane added the type: feature label Apr 11, 2022
@cypress-bot cypress-bot bot added stage: pending release and removed stage: work in progress labels Apr 25, 2022
@cypress-bot
Copy link

@cypress-bot cypress-bot bot commented Apr 25, 2022

The code for this is done in cypress-io/cypress#18075, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link

@cypress-bot cypress-bot bot commented Apr 25, 2022

Released in 9.6.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v9.6.0, please open a new issue.

@cypress-bot cypress-bot bot removed the stage: pending release label Apr 25, 2022
@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Apr 25, 2022
@mjhenkes mjhenkes reopened this Apr 26, 2022
@mjhenkes
Copy link
Member

@mjhenkes mjhenkes commented Apr 26, 2022

We will close this epic once the feature is generally available.

@cypress-bot cypress-bot bot added the stage: backlog label Apr 29, 2022
@mjhenkes mjhenkes changed the title Multi-domain Support cy.origin GA release May 6, 2022
@mjhenkes mjhenkes added the E2E-auth label May 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
E2E-auth Epic stage: backlog type: feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.