•  
      request #46372 Forbid chaining unsafe cypress commands
    Infos
    #46372
    Joris MASSON (jmasson)
    2026-01-13 19:08
    2026-01-13 19:08
    48093
    Details
    Forbid chaining unsafe cypress commands

    During request #42992, when we upgraded eslint-plugin-cypress, a new rule was added to the recommended configuration. This rule raises an error when certain cypress commands are chained, for example .clear().type(). Those commands are marked as unsafe to be chained in the documentation. During the upgrade, we disabled this rule, because there was already enough to deal with.

    We should fix the errors and enable again this rule.

    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Under implementation
    Empty
    Attachments
    Empty
    References
    Referenced by request #46372