question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cypress Test runner getting exit while redirect

See original GitHub issue

Current behavior

while running the test , cypress runner getting disappeared on redirect,

Desired behavior

cypress runner should still be visible on redirect

Test code to reproduce

describe("test", function () {
  it("create payment", function () {

cy.visit(*********) //provide any url that redirect to another url 
})
})

https://user-images.githubusercontent.com/62381266/189370370-c5597087-2d1d-478c-b043-56f31c0c2ce6.mov

Cypress Version

10.6.0

Node version

v16.16.0

Operating System

macOS 11.2.3

Debug Logs

No response

Other

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:17 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Yonhoocommented, Sep 13, 2022

i meet the same issue, when request my domain , the response submit redirect html ,then cypress runner getting exit, jump to redirect domain , can i know cy.origin can cover it?

0reactions
vivekbaskaran24021commented, Nov 27, 2022

@chrisbreiding When is the issue is planned to fix

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cypress Test runner getting exit while redirect
I haven't been able to reproduce that exit error. Instead, I get the "different origin URL" (*1) error. However, there is an experimental ......
Read more >
Test Retries
A test runs for the first time. If the test passes, Cypress will move forward with any remaining tests as usual. · If...
Read more >
Testing redirect with Cypress
In this article, I want to share what Cypress is, and explain how to check redirects with it, and verify the article's title....
Read more >
Add end-to-end Cypress tests to your Amplify app
The test phase can be configured in the build specification YML. Currently, you can run only the Cypress testing framework during a build....
Read more >
A Practical Guide to Intercepting Network Requests in ...
This is useful when we use real API during testing our frontend app and have a generated ID coming from server. With minimatch,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found