cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.11k stars 3.19k forks source link

breaking: remove logic around min supported browsers #30462

Closed jennifer-shehane closed 3 weeks ago

jennifer-shehane commented 1 month ago

Additional details

With Cypress 14, we're updated our browser support stance to no longer be hardcoded minimum browser versions, but to support the last 3 major versions for Chrome, Firefox, and Edge. See https://github.com/cypress-io/cypress/issues/29977

This PR removes the logic in the App around handling the minimum versions of the browsers - and logic to show warnings to users when their browser is below that version.

Additionally, this removes the minSupportedVersion from Cypress.browser, but you can see from the documentation that these properties were never externally documented: https://docs.cypress.io/api/cypress-api/browser

Steps to test

How has the user experience changed?

Users of very very old browsers that weren't supported will no longer see a warning on those versions.

PR Tasks

cypress[bot] commented 1 month ago

cypress    Run #58058

Run Properties:  status check passed Passed #58058  •  git commit fa0759c6f6: Merge branch 'release/14.0.0' into remove-browser-version-warnings
Project cypress
Branch Review remove-browser-version-warnings
Run status status check passed Passed #58058
Run duration 21m 24s
Commit git commit fa0759c6f6: Merge branch 'release/14.0.0' into remove-browser-version-warnings
Committer Jennifer Shehane
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 5
Tests that did not run due to a developer annotating a test with .skip  Pending 1327
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 29368
View all changes introduced in this branch ↗︎
UI Coverage  46.11%
  Untested elements 189  
  Tested elements 166  
Accessibility  92.55%
  Failed rules  3 critical   8 serious   2 moderate   2 minor
  Failed elements 896