1. 15 Aug, 2019 2 commits
    • 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
  2. 14 Aug, 2019 4 commits
  3. 12 Aug, 2019 12 commits
  4. 08 Aug, 2019 3 commits
  5. 07 Aug, 2019 3 commits
  6. 06 Aug, 2019 2 commits
  7. 05 Aug, 2019 2 commits
  8. 02 Aug, 2019 3 commits
  9. 01 Aug, 2019 2 commits
  10. 30 Jul, 2019 1 commit
  11. 29 Jul, 2019 6 commits