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

Feature request for ignoring page loading #7785

Closed
vitaliy4us opened this issue Jun 23, 2020 · 1 comment
Closed

Feature request for ignoring page loading #7785

vitaliy4us opened this issue Jun 23, 2020 · 1 comment

Comments

@vitaliy4us
Copy link

Current behavior:

  1. Press a button on the page to confirm certain action (e.q. save some changes)
  2. The page starts reloading. Cypress is paused and is waiting for reloading is finished.
  3. Notification about successfully confirmed action appears, but the page is still reloading.
  4. Notification is gone, but the page is still reloading.
  5. The page has been reloaded, Cypress starts working and tries to assert the notification.
  6. Test fails as the notification does not exist any more.
    notification issue 1
    notification issue 2

Desired behavior:

  1. Press a button on the page to confirm certain action (e.q. save some changes)
  2. The page starts reloading. Cypress is NOT paused and continue working.
  3. Notification about successfully confirmed action appears, but the page is still reloading.
  4. Cypress is able to detect the notification.

Versions

Cypress 4.8.3, Windows 10, Chrome

@jennifer-shehane
Copy link
Member

Duplicate of #788

@jennifer-shehane jennifer-shehane marked this as a duplicate of #788 Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants