1. 13 Nov, 2019 1 commit
    • slaprunner: parameterize the shared folder · 70a97144
      In test nodes we put the software_root folder out of the webrunner so we
      can keep it for the following tests. Except that the shared folder has
      been introduced by default recently, and it is still inside the webrunner.
      
      Thus, between 2 tests the webrunner is deleted, so the shared parts are too,
      but not the SR folder (which is marked as completed). Then in the successive tests
      the software release fails to build, or the insances fail to isntanciate.
      Nicolas Wavrant committed
  2. 28 Aug, 2019 1 commit
  3. 22 Aug, 2019 1 commit
  4. 13 Aug, 2019 1 commit
  5. 09 Jul, 2019 1 commit
  6. 05 Jul, 2019 1 commit
  7. 01 Jul, 2019 2 commits
  8. 11 Mar, 2019 1 commit
  9. 05 Mar, 2019 1 commit
  10. 04 Mar, 2019 1 commit
  11. 26 Feb, 2019 1 commit
  12. 21 Jan, 2019 1 commit
  13. 27 Dec, 2018 1 commit
  14. 20 Dec, 2018 1 commit
  15. 12 Dec, 2018 1 commit
  16. 05 Dec, 2018 1 commit
  17. 03 Dec, 2018 3 commits
  18. 27 Nov, 2018 1 commit
  19. 26 Nov, 2018 1 commit
  20. 23 Nov, 2018 3 commits
  21. 21 Nov, 2018 1 commit
  22. 14 Nov, 2018 1 commit
  23. 31 Oct, 2018 1 commit
    • Selenium Server · 88394ddb
      New software release, selenium server, which expose a http server to which clients can connect using [`webdriver.Remote`](https://selenium-python.readthedocs.io/getting-started.html#using-selenium-with-remote-webdriver) and then use standard webdriver API to control the browser.
      
      The server is made of :
       * the "hub" to which webdriver connects
       * a Xvfb server
       * some nodes, for different browsers:
         * Firefox 52
         * Firefox 60
         * Chrome 69
       * an IPv6 https frontend, exposing the admin interface and the hub. Note that python's webdriver binding before 3.14.0 refuse to connect to a hub with a non verified SSL certificate, so for now clients must either use the published `backend-url` (which is IPv4) or use a version of selenium eggs >= 3.14. In the future we'll see how [caucase](https://lab.nexedi.com/nexedi/caucase/) can solve this. Also, this behavior might also change with future version of selenium, because it's wrong that it does not verify SSL certificates.
       * a ssh server, to which you can connect to establish a ssh tunnel with port forward and register more nodes to the hub. This can be used to connect a browser running on your desktop and see the test running, run unsupported browsers, maybe also [appium](http://appium.io/docs/en/advanced-concepts/grid/) to run tests on mobile. This is a kind of "extra feature" that seems working, but I'm not sure we can support it.
      
      To achieve this, we had to :
        * update Xorg components and build gtk with a X11 gdk backend  to be able to run firefox 60. Updating xorg/gdk also fixed a bug in firefox 52, before this, firefox 52 was not able to get the screen size and ` window.screen.width` was 0. Now firefox 52 can get the screen size properly but resizing window does not work.
        * update chrome 69 and fix a few missing `$LD_LIBRARY_PATH` in the wrapper.
      
      Everything seems working, including taking screenshots, uploading files and resizing window - except resizing window does not work on firefox 52.
      
      See the included test suite for some example usage. Basically it's same as what we're doing today, but instead of:
      
      ```python
      driver = webdriver.Firefox(path_to_firefox)
      ```
      
      we use:
      
      ```python
      driver = webdriver.Remote(
         command_executor='http://127.0.0.1:4444/wd/hub', # the url or backend-url parameter published by the instance.
         desired_capabilities={
            'browserName': 'firefox', # or chrome
            'version': '60', # or don't set a version if you want any version (browserName, on the other hand, is required)
         })
      ```
      
      
      /reviewed-on !420
      Jérome Perrin committed
  24. 26 Oct, 2018 1 commit
  25. 24 Oct, 2018 2 commits
  26. 19 Oct, 2018 1 commit
  27. 08 Oct, 2018 1 commit
  28. 05 Oct, 2018 1 commit
  29. 28 Sep, 2018 2 commits
  30. 21 Sep, 2018 2 commits
  31. 13 Sep, 2018 2 commits