-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
"Cookies are disabled" issue with Epic Hyperspace in Cypress 10.3.0 #22670
Comments
@cypress-app-bot @cypress-github-team-services-sa Anyone is looking into issue, please take this as priority we are waiting for this from last 5 months. |
It doesn't look like there's enough information to reproduce this, but my hunch is that it will be fixed by #22594. Sites often use If you'd like to check out if this fixes your issue before the release, you can install a pre-release version:
If you confirm the issue is fixed, please let us know. p.s. Please don't spam mention users/teams. We regularly check issues and have a process for responding to them. Adding mentions won't speed up that process. |
Hi Chris,
For MacOS (Intel) I install cypress using link give by you, but I not able
to open the application, Can you please guide to how to install it?
…On Mon, Jul 11, 2022 at 10:57 PM Chris Breiding ***@***.***> wrote:
It doesn't look like there's enough information to reproduce this, but my
hunch is that it will be fixed by #22594
<#22594>. Sites often use
document.cookie to check if cookies are enabled or not and #22594
<#22594> fixes how
document.cookie is handled in a cross-origin context. That fix will be
out in the next release of Cypress, which should be this week or next week
at the latest.
If you'd like to check out if this fixes your issue before the release,
you can install a pre-release version:
- Linux (x64): npm install
https://cdn.cypress.io/beta/npm/10.3.1/linux-x64/develop-a9476ecb3d43f628b689e060294a1952937cb1a7/cypress.tgz
- Linux (arm64): npm install
https://cdn.cypress.io/beta/npm/10.3.1/linux-arm64/develop-a9476ecb3d43f628b689e060294a1952937cb1a7/cypress.tgz
- MacOS (M1/M2): npm install
https://cdn.cypress.io/beta/npm/10.3.1/darwin-arm64/develop-a9476ecb3d43f628b689e060294a1952937cb1a7/cypress.tgz
- MacOS (Intel): npm install
https://cdn.cypress.io/beta/npm/10.3.1/darwin-x64/develop-a9476ecb3d43f628b689e060294a1952937cb1a7/cypress.tgz
- Windows: npm install
https://cdn.cypress.io/beta/npm/10.3.1/win32-x64/develop-a9476ecb3d43f628b689e060294a1952937cb1a7/cypress.tgz
If you confirm the issue is fixed, please let us know.
p.s. Please don't spam mention users/teams. We regularly check issues and
have a process for responding to them. Adding mentions won't speed up that
process.
—
Reply to this email directly, view it on GitHub
<#22670 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVN3QLAD5DUD74FBKZWKWHDVTRKPDANCNFSM52R3NDUA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It might be easiest to install it globally:
Then the cypress cli will be available globally and you can run:
|
When I above command folder is not getting created rather yarn.locn,
package.json are installed in my file path.
…On Tue, Jul 12, 2022 at 5:50 PM Chris Breiding ***@***.***> wrote:
It might be easiest to install it globally:
npm install -g https://cdn.cypress.io/beta/npm/10.3.1/darwin-x64/develop-a9476ecb3d43f628b689e060294a1952937cb1a7/cypress.tgz
Then the cypress cli will be available globally and you can run:
cypress open --e2e --project <path to your project>
—
Reply to this email directly, view it on GitHub
<#22670 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVN3QLDVVJTG577WQPOS4RTVTVPH5ANCNFSM52R3NDUA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
How do you currently have Cypress installed, using |
Both ways, generally use npm command is--> npm run cypress:open to open
… Message ID: ***@***.***>
|
In that case, install it non-globally (no
It will replace the local copy of cypress and you can run |
I have installed recent cypress version 10.3.1 and ran test which was
giving error, still I am getting same error, Please see the attached
screenshot for reference.
…On Tue, Jul 12, 2022 at 6:42 PM Chris Breiding ***@***.***> wrote:
In that case, install it non-globally (no -g) within your project's
directory (where the package.json is):
npm install https://cdn.cypress.io/beta/npm/10.3.1/darwin-x64/develop-a9476ecb3d43f628b689e060294a1952937cb1a7/cypress.tgz
It will replace the local copy of cypress and you can run npm run
cypress:open to open it. If it's working correctly, it will say It looks
like this is your first time using Cypress: 10.3.1 in the terminal and
then you'll see 10.3.1 in the top-right of Cypress's UI. That way you'll
know it's running the pre-release version.
—
Reply to this email directly, view it on GitHub
<#22670 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVN3QLGT3A35QRGDBNVKDUTVTVVNRANCNFSM52R3NDUA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
By same error, do you mean the Are you able to share the original url you visit in your test, before it navigates to |
Yes, same error please find attached file(screenshot) to see error..
Before visiting epic I visit : https://app.suki-test.com/
code to reproduce:
it('cy.get() - Login to Suki as a Physician', function () {
cy.login(USER_PERSONA.EPICUSER)
.reload(true)
.wait(2000)
.***@***.***="button"])[2]').click()
.wait(6000)
cy.origin("https://apporchard.epic.com/HSWeb_aocurprd/", ()=>{
cy.get('#txtUserID').should('be.visible').type('****')
.get('#txtPassword').should('be.visible').type('****')
.get('#btnLogin').click()
})
})
…On Tue, Jul 12, 2022 at 8:31 PM Chris Breiding ***@***.***> wrote:
By same error, do you mean the Cookies are disabled error?
Are you able to share the original url you visit in your test, before it
navigates to epic.com? Right now, I'm not able to reproduce the issue, so
any test code or information you can provide will be useful for debugging
this.
—
Reply to this email directly, view it on GitHub
<#22670 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVN3QLASJDJP5SFZAYNKXPLVTWCDBANCNFSM52R3NDUA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Can you share the code for your |
cy.visit(https://app.suki-test.com/)
.clearLocalStorage()
.get('[data-cy=textfield-username]', { timeout: 90000 }).type(id ||
Cypress.env('ciuser'))
.get('[data-cy=textfield-password]').type(pwd ||
window.atob(Cypress.env('cipwd')))
.get('[data-cy=btn-login]').click()
})
…On Tue, Jul 12, 2022 at 9:12 PM Chris Breiding ***@***.***> wrote:
Can you share the code for your cy.login() custom command implementation?
—
Reply to this email directly, view it on GitHub
<#22670 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVN3QLCB7TQCIGJNZX5KNVTVTWG6HANCNFSM52R3NDUA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Are you able to provide the username and password for that initial login used in the |
No, I can't.
…On Wed, Jul 13, 2022 at 7:13 PM Chris Breiding ***@***.***> wrote:
Are you able to provide the username and password for that initial login
used in the cy.login() command?
—
Reply to this email directly, view it on GitHub
<#22670 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVN3QLEHZ4WSS5W34JN7NC3VT3BWNANCNFSM52R3NDUA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
After logging in, we are navigated to Epic web page this is where I am
facing that issue.
…On Wed, Jul 13, 2022 at 8:53 PM Ganesh AC ***@***.***> wrote:
No, I can't.
On Wed, Jul 13, 2022 at 7:13 PM Chris Breiding ***@***.***>
wrote:
> Are you able to provide the username and password for that initial login
> used in the cy.login() command?
>
> —
> Reply to this email directly, view it on GitHub
> <#22670 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AVN3QLEHZ4WSS5W34JN7NC3VT3BWNANCNFSM52R3NDUA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
@ganeshac123, clicking the link above for the PR will show you the status. It was merged 3 days ago. You can install any of the pre-releases since then. Here is the latest one 3e01474#comments linux (x64): linux (arm64): MacOS (M1/M2): MacOS (Intel): Windows: |
Closing as complete with #23872. @ganeshac123 this should be release |
Ok, tomorrow Morning My time will and let you know.
…On Tue, Oct 11, 2022 at 8:16 PM Bill Glesias ***@***.***> wrote:
Closing as complete with #23872
<#23872>. @ganeshac123
<https://github.com/ganeshac123> this should be release 10.10.0 this
afternoon EST. Can you confirm once the release is available that this
issue is fixed?
—
Reply to this email directly, view it on GitHub
<#22670 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVN3QLD6SHSIOQD2LJAXFODWCV4VVANCNFSM52R3NDUA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi Bell,
I tested this issue with Cypress 10.0.0 new version, still this issue is
not fixed check attached screenshot for your reference.
Please look into this asap, We are waiting for this fix for 6 months but
still no proper update from the Cypress team even after many escalations.
Let us know if you are not able to fix from your end?
…On Tue, Oct 11, 2022 at 8:43 PM Ganesh AC ***@***.***> wrote:
Ok, tomorrow Morning My time will and let you know.
On Tue, Oct 11, 2022 at 8:16 PM Bill Glesias ***@***.***>
wrote:
> Closing as complete with #23872
> <#23872>. @ganeshac123
> <https://github.com/ganeshac123> this should be release 10.10.0 this
> afternoon EST. Can you confirm once the release is available that this
> issue is fixed?
>
> —
> Reply to this email directly, view it on GitHub
> <#22670 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AVN3QLD6SHSIOQD2LJAXFODWCV4VVANCNFSM52R3NDUA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Hey @ganeshac123 . I'm sorry to hear this didn't fix your issue. Just to clarify, you tested with |
Yeah, I did tested with 10.10.0.
…On Wed, Oct 12, 2022 at 7:08 PM Bill Glesias ***@***.***> wrote:
Hey @ganeshac123 <https://github.com/ganeshac123> . I'm sorry to hear
this didn't fix your issue. Just to clarify, you tested with 10.10.0? I
cannot see an attached screenshot which could be very useful here.
—
Reply to this email directly, view it on GitHub
<#22670 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVN3QLB3KIRH77YDPXXICTDWC25O3ANCNFSM52R3NDUA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@ganeshac123 OK Thank you for confirming. We thought the issue was fixed because it happens intermittently for us, but we think we have an idea what is going on with the initial cookies set by hyperspace. We are working on a solution and will keep you updated. |
@ganeshac123 With the implementation of #23531 & #23643 this should unblock the epic login issues to the point where it gets passed "cookies are disabled" and should be in the release next week for Cypress |
Thanks for the update, please let me know once the issue resolved.
…On Wed, Oct 19, 2022 at 3:14 AM Bill Glesias ***@***.***> wrote:
@ganeshac123 <https://github.com/ganeshac123> With the implementation of
#23531 <#23531> & #23643
<#23643> this should unblock
the epic login issues to the point where it gets passed "cookies are
disabled" and should be in the release next week for Cypress 10.11.0
—
Reply to this email directly, view it on GitHub
<#22670 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVN3QLAQPPEMEHYKHSHKVA3WD4K2LANCNFSM52R3NDUA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@ganeshac123 it should be resolved with Tuesday's release. I am hoping you can download Cypress 10.11.0 at that time and confirm the issue is resolved for you. |
@ganeshac123, thanks for your patience as we've worked through this. Cypress 10.11.0 is now out, which should resolve your issue. Please let us know if you can confirm that you no longer encounter the |
Hi @chrisbreiding @AtofStryker downloaded Cypress 10.11.0 from cypress website, tested browser cookies issue. Looks like issue is not resolved yet. |
Hi @chrisbreiding @AtofStryker downloaded Cypress 10.11.0 from cypress website, tested browser cookies issue. i hi Guys any updates on this, waiting for this issue to solved from one year? Let us know if @cypress-github-team-services-sa is not able to solve it, we can do something from our end? |
Hi @ganeshac123 are you running the binary directly? I am running the following test in
I have run this multiple times and am unable to reproduce the issue. Is there something about our test set up that is different? It doesn't like like a |
Where did you enable "experimentalSessionAndOrigin" flag? If I don't enable this flag I am getting error asking for enabling this, If I enable this flag in cypress config, I am not able to any files |
@ganeshac123 I have
What do you mean by this? I am not sure I understand completely. |
I have enabled experimentalSessionAndOrigin flag in cypress.config.js file, after enabling this I am not able to run any files in cypress application(web app downloaded from cypress.io) |
@ganeshac123 I'm sorry but I'm still not entirely sure what that means. Is there an error being thrown? Could you share a screenshot? |
@ganeshac123 this just means you need to change this:
to this:
can you try that and report back to let us know if it fixed your issue? |
Now it's working. This issue is resolved now, it was pending from long long time.. Thanks for fixing this @AtofStryker 👍 |
That's great to hear! Thank you for patience and helping us get this working. Let us know if you run into other trouble! |
Current behavior
Cookies are disabled. Please enable cookies to log in to Hyperspace with a browser.
Note: take a look at the screenshot for reference.
Cypress Version
10.3.0
Desired behavior
Cypress should allow cross origin as I am using recent version of cypress(10.3.0) this issue reportedly solved.
Test code to reproduce
Test code to reproduce
describe('Note creation flow for Epic user tests', function () {
it('cy.get() - Login to Suki as a Physician', function () {
})
Cypress Version
10.3.0
Other
In recent version of cypress that is 10.3.0, cypress team members informed us that this cookie issue will be solved but it is not solved yet, reference of old bug: #20685
The text was updated successfully, but these errors were encountered: