Skip to content
  • Georges Racinet's avatar
    session: avoid a webdriver leak and removed duplication · 9aeb60aea2ea
    Georges Racinet authored
    `login_as_user()` would not store the webdriver anywhere, hence
    it wouldn't be properly closed.
    It is currently used in `test_external_user_can_create_project()`
    
    With this change, it relies on the centralized mechanism currently
    provided by the `Heptapod` object, with the result that the
    webdriver is also stored there and gets automatically cleaned up
    at the end of the session.
    9aeb60aea2ea