1. 19 Feb, 2020 2 commits
    • Georges Racinet's avatar
      Supporting running through a Selenium RemoteWebDriver · 90fc419eedf0
      Georges Racinet authored
      This is a preliminary for any CI attempt, since installing the webdriver
      inside a Docker container is a long and error prone process.
      This will allow to use a separate service image such as
      `selenium/standalone-chrome` and that may also turn to be a good option
      even outside Docker-based CI contexts.
      The new `Heptapod.new_webdriver()` method is now the unique one to be
      called to create new drivers, a preliminary to be able to run the
      tests with other drivers anyway. In particular, this should come handy
      if installing chromedriver is a problem.
    • Georges Racinet's avatar
      Project.hg_config: don't fail if entire section is empty · 0c6f0f4c6ab3
      Georges Racinet authored
      In the docker execution context, we can get `None` for the output
      instead of an empty string.
  2. 15 Feb, 2020 1 commit
  3. 24 Jan, 2020 1 commit
    • Georges Racinet's avatar
      Testing API to change a project HGRC · 087996f36a3d
      Georges Racinet authored
      Since we don't have an API to read the HGRC yet, we need
      file system access for these particular tests.
      It seemed logical to test inheritance management with the
      groups test.
  4. 15 Feb, 2020 3 commits
  5. 17 Feb, 2020 1 commit
  6. 10 Dec, 2019 1 commit
    • Georges Racinet's avatar
      Tests for implicit bookmarks moves · 60062c913ddc
      Georges Racinet authored
      See heptapod#143: since bookmarks are implicitely
      pushed, we have to honour that.
      It's also the occasion to test what happens with
      bookmarks deletions, which should also be allowed at
      all time (this is also important for people that have
      bookmarks because they have been using regular hg-git
      for a while)
  7. 18 Feb, 2020 2 commits
  8. 16 Feb, 2020 1 commit
  9. 15 Feb, 2020 3 commits
  10. 09 Feb, 2020 2 commits
  11. 26 Jan, 2020 1 commit
  12. 28 Jan, 2020 2 commits
    • Georges Racinet's avatar
      Project: fix teardown of import tests · cce2334e7a83
      Georges Racinet authored
      It was a mistake to perform assertions from inside
      the api_import_url helper: that prevents returning
      a `Project` instance for teardown.
      We're keeping the assertion about retrieval of project data,
      it's valuable information and chances that the project could
      be destroyed if that fails look slim.
    • Georges Racinet's avatar
      Project: made timeouts be about wall clock · abfa930dfca9
      Georges Racinet authored
      Previously, it was based on the time spent spleeping, which becomes
      a problem if some of the calls turn out to last a non negligible
      amount of time (including because of pdb etc).
  13. 26 Jan, 2020 2 commits
  14. 24 Jan, 2020 5 commits
  15. 19 Jan, 2020 10 commits
  16. 07 Jan, 2020 1 commit
    • Georges Racinet's avatar
      Fixing and testing webdriver merge request creation · 54bdea0860d1
      Georges Racinet authored
      For the jump to 10.5 we had to rewrite the tests
      to use the API creation method only. Because of this,
      we now need to test that the Web UI actually works.
      Instead on relying on the default MR proposal, that
      doesn't work as it used to before 10.5 in this tests
      and/or the structure of the general select-and-compare
      page, we jump straight to the compare-and-create page
      for the prescribed branches.
      Now the creation helper takes explicit source and target
  17. 15 Jan, 2020 2 commits