cypress-documentation icon indicating copy to clipboard operation
cypress-documentation copied to clipboard

CT Supported Frameworks with wildcard "+" version

Open MikeMcC399 opened this issue 2 years ago • 4 comments

Subject

Component Testing > Overview > Supported Frameworks

Description

Supported Frameworks lists framework versions with a base version and a "+" to indicate later versions.

image

This is not consistent with the way that Cypress detects frameworks, which works on discrete versions, rather than minimum versions.

~~For instance, Svelte with Vite lists Svelte 3+, which implies also Svelte 4, however Cypress 12.17.3 displays a message saying that svelte 4.1.2 is not supported.~~ Edit: Outdated comment, since Svelte 4 is now supported. The general problem raised is however still relevant.

image

The version list should be aligned to the way that Cypress determines which framework versions are supported. If there is a minimum and maximum version permitted, then this should be listed in the table.

Currently the table is misleading.

MikeMcC399 avatar Aug 04 '23 15:08 MikeMcC399

Cypress source code packages/scaffold-config/src/dependencies.ts is related to the framework dependencies which are supported.

MikeMcC399 avatar Aug 07 '23 17:08 MikeMcC399

Are you proposing we document the versions differently? If so, what do you suggest? Or are you proposing the correct svelte support land?

jordanpowell88 avatar Aug 08 '23 17:08 jordanpowell88

@jordanpowell88

The suggestion would be to replace the "+" notation with version ranges, for example

Create React App 4+ | React 16+ | Webpack 4+

would become

Create React App 4 - 5 | React 16 - 18 | Webpack 4 - 5

so that the table mirrors the versions which the Cypress app displays during scaffolding.

Svelte 3+ would be changed to ~~Svelte 3 and when 4 is supported it would be changed to~~ Svelte 3 - 4.

MikeMcC399 avatar Aug 08 '23 18:08 MikeMcC399

The table, with no upper bound for supported versions, continues to be misleading as new frameworks are released without Cypress providing support.

Currently the following issues are requesting updated support:

  • https://github.com/cypress-io/cypress/issues/28347
  • https://github.com/cypress-io/cypress/issues/28185

MikeMcC399 avatar Jan 20 '24 13:01 MikeMcC399