•  
      request #14848 cypress tests should have eslint configuration
    Infos
    #14848
    Marie Ange Garnier (marieange)
    2020-04-30 16:14
    2020-04-28 13:55
    16112
    Details
    cypress tests should have eslint configuration
    There are several rules we tend to use in team but who are only triggered during review.
    Let's have consistent development rules and enforce them in CI.

    - "cypress/no-assigning-return-values": "error",
    - "cypress/no-unnecessary-waiting": "error",
    - "cypress/assertion-before-screenshot": "error",
    - "cypress/no-force": "warn"
    - "cypress/require-data-selectors": "error"
    Other
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Marie Ange Garnier (marieange)
    Closed
    2020-04-30
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    • Summary
      -cypress test should always use data-test as selector 
      +cypress tests should have eslint configuration 
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Status changed from New to Under implementation
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes