1. 07 Aug, 2018 36 commits
  2. 06 Aug, 2018 1 commit
    • Ryan Herbert's avatar
      server functional tests use ServerTest class · 37375b24
      Ryan Herbert authored
      Changing the test order for browser_test.rb is not the best idea in the
      scope of this feature. Implementing a ServerTest class that inherits
      from BrowserTest changing only the test order allows us to maintain
      behaviour for browser tests and still have a random order for server
      tests.
      37375b24
  3. 03 Aug, 2018 3 commits
    • Ryan Herbert's avatar
      test_login.rb logout if needed · 217bdccd
      Ryan Herbert authored
      since the test order is random, the successful login test can be
      executed before the failure. So we need to logout if we are already
      logged between the tests
      217bdccd
    • Ryan Herbert's avatar
      test_sample_set.rb delete, select by info, not by index. · 6996851b
      Ryan Herbert authored
      Found another crappy test thanks to random order. In some cases, the
      patient needed for the edit test was being deleted before the test could
      execute. So selecting a specific patient for the delete test should make
      things more robust.
      6996851b
    • Ryan Herbert's avatar
      test_sample.rb go_to_set click first cell · 4746abb8
      Ryan Herbert authored
      Watir was clicking on the get_results link (in the centre or the rows)
      which was causing issues with the tests. Clicking the first cell of the
      line ensures that no link is being clicked.
      4746abb8