1. 15 Jun, 2018 1 commit
  2. 04 Mar, 2016 1 commit
  3. 12 Nov, 2015 1 commit
  4. 08 Nov, 2015 1 commit
  5. 20 Oct, 2015 1 commit
  6. 02 Oct, 2015 1 commit
    • Damien Lespiau's avatar
      tests: Add a couple of Selenium tests · 5f3c7dfa
      Damien Lespiau authored
      While developing the new series UI, several bug crept in but weren't
      discovered until later. All because we don't have in-browser tests to go
      along the lower level tests we already have.
      
      In particular, behaviours that need javascript to run cannot be tested
      outside of a full environment with the pages being served to an actual
      browser.
      
      This commit introduces selenium to the test suite and starts with 2
      simple tests to give a taste of what it looks like.
      
      test_default_focus: make sure we do focus the username field on the
                          login page
      
      test_login: shows how to chain actions to test the full login phase.
                  This is quite similar the lower level test, except it also
                  checks we display the username once logged in.
      
      v2: Use LiveServerTestCase for django pre-1.7
      v3: Propagate the DISPLAY environment variable to have an X display
          specified for the browser
      v4: Log execution of the chrome driver, useful for debugging
      v5: Rebase on top of upstream
      Signed-off-by: 's avatarDamien Lespiau <damien.lespiau@intel.com>
      5f3c7dfa
  7. 05 Sep, 2008 2 commits