•  
      request #20984 Improve cypress custom commands
    Infos
    #20984
    Joris MASSON (jmasson)
    2021-05-03 11:18
    2021-04-30 17:52
    22585
    Details
    Improve cypress custom commands

    Cypress custom commands do not have consistent naming, some functions start with a Capital case. Our style guide requires us to use camelCase when naming functions, so those functions do not respect it.

    Also, whenever we want to clear the session cookie (to "logout") or preserve it (to stay logged in) we have to copy/paste the name of the session cookie. We should have commands to alias that so that our cypress tests are more readable (no need to figure out what the cookie name means) and if we ever rename it, we can do it only in one place.

    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2021-05-03
    Attachments
    Empty
    References

    Follow-ups