We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Could try adding end-to-end tests for beforeunload prompting when the user has unsaved changes.
Was able to add tests for confirm prompt in parameter-editing.cy.ts, but beforeunload is trickier. Cypress can bind to the event (https://docs.cypress.io/api/cypress-api/catalog-of-events), but this event is called every time the page reloads. Also, testing beforeunload can be tricky because it can actually prevent the page from reloading (see https://glebbahmutov.com/blog/onbeforeunload/).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Could try adding end-to-end tests for beforeunload prompting when the user has unsaved changes.
Was able to add tests for confirm prompt in parameter-editing.cy.ts, but beforeunload is trickier. Cypress can bind to the event (https://docs.cypress.io/api/cypress-api/catalog-of-events), but this event is called every time the page reloads. Also, testing beforeunload can be tricky because it can actually prevent the page from reloading (see https://glebbahmutov.com/blog/onbeforeunload/).
The text was updated successfully, but these errors were encountered: