1. 03 Sep, 2019 1 commit
    • Sean Hammond's avatar
      Add docs for building the docs locally · 253db9e8
      Sean Hammond authored
      This adds documentation for how to build the docs locally.
      
      Previously the `make docs` command required you to have Python 3 and tox
      installed system-wide, neither of which are required for any of our
      other projects anymore, and this wasn't documented anywhere.
      
      This PR changes `make docs` to use pyenv to install Python 3 and tox, as
      all our other Python projects do, and adds a Building the Docs Locally
      page to the docs with instructions on how to install pyenv and build the
      docs locally.
      
      pyenv and tox are _not_ added to the general client dev install
      instructions since they're only needed to build the docs.
      253db9e8
  2. 15 Aug, 2019 6 commits
    • Robert Knight's avatar
      Install `npm` in the Docker image · 70716a34
      Robert Knight authored
      `npm` is still used by the final deployment process to publish packages
      to the npm registry.
      70716a34
    • Robert Knight's avatar
      Merge pull request #1279 from hypothesis/karma-headless-chrome · 872c4d7c
      Robert Knight authored
      Switch default browser for running tests from PhantomJS to headless Chrome
      872c4d7c
    • Robert Knight's avatar
      Remove workarounds for PhantomJS in tests · 2030edc2
      Robert Knight authored
      2030edc2
    • Robert Knight's avatar
      Remove unnnecessary polyfills from test environment · 8e1e34a0
      Robert Knight authored
      These are no longer needed when running tests under Chrome.
      8e1e34a0
    • Robert Knight's avatar
      Replace PhantomJS with headless Chrome in tests · d7f22bbf
      Robert Knight authored
      Update our test/CI environment to a modern browser which matches what
      our users use and supports modern web APIs and ES language features.
      
       - Add a Dockerfile which defines an image that includes everything
         needed to run client tests and deployment steps. This image uses
         plain Alpine as the base rather than Debian as this makes it easier
         to update frequently (every 6 months) to get a current Chrome build.
      
       - Replace PhantomJS with Puppeteer for testing locally and on Travis.
         Jenkins uses Chromium packages from Alpine.
      d7f22bbf
    • Robert Knight's avatar
      Fix test failures in Chrome · 8988a962
      Robert Knight authored
      - Fix failing `services/api.js` test
      
        Chrome throws an error when trying to construct a fetch `Response` with
        a non-null `body` if the status is 204.
      
      - Fix Timestamp and GroupListItem test failures in Chrome
      
        - Pass required type argument to `Event` constructor
        - Pass valid `timestamp` argument to `Timestamp`. This value is passed
          on to date functions which require a valid date/time string.
      
      - Fix Slider transition test in Chrome
      
        Since the transition from open to closed is animated, the actual element
        height doesn't immediately transition to 0px. Instead of checking the
        actual height, check the target height specified by the current style
        properties.
      
        The previous code happened to work under PhantomJS, but was conceptually incorrect.
      8988a962
  3. 14 Aug, 2019 4 commits
  4. 12 Aug, 2019 12 commits
  5. 08 Aug, 2019 3 commits
  6. 07 Aug, 2019 3 commits
  7. 06 Aug, 2019 2 commits
  8. 05 Aug, 2019 2 commits
  9. 02 Aug, 2019 3 commits
  10. 01 Aug, 2019 2 commits
  11. 30 Jul, 2019 1 commit
  12. 29 Jul, 2019 1 commit