Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30065

SELENIUM_PLATFORM not always properly set when using Matrix Axis -> Sauce Labs WebDriver tests

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      To recreate:
      1. Create a "Multi-configuration project" job type
      2. Add new Axis "Sauce Labs WebDriver tests"
      3. Select "Windows XP Google Chrome 44"
      4. Select "Windows 7 Firefox 40"
      5. Run some tests

      Result:
      SELENIUM_PLATFORM is set to:

      Note the platform inconsistency could not be limited to the 2 listed cases here so might be a good idea to revise them all.

      More visual info in attached screen shots.

        Attachments

          Activity

          Hide
          elgalu Leo Gallucci added a comment -

          Also `SELENIUM_DRIVER` needs to be updated.

          Show
          elgalu Leo Gallucci added a comment - Also `SELENIUM_DRIVER` needs to be updated.
          Hide
          thecampbellcash Andrew Campbell added a comment -

          Hi Leo Gallucci,
          This is simply a difference in syntax that should have no affect on testing. Windows server 2003 and windows XP are the same operating system as far as Selenium testing (and microsoft) is concerned. So for example, specifying either of the following.

          desired_capabilities['platform'] = "Windows 2003"
          desired_capabilities['platform'] = "Windows XP"
          

          Will both results in an XP VM in Sauce Labs. Are you not seeing this behavior? or is there some other aspect of this function that is interrupting your testing? If so, can you elaborate as this is more or less a black box function of the plugin that, while syntactically confusing, is operating as intended and in our eyes not a bug.

          Cheers,
          Andrew

          Show
          thecampbellcash Andrew Campbell added a comment - Hi Leo Gallucci , This is simply a difference in syntax that should have no affect on testing. Windows server 2003 and windows XP are the same operating system as far as Selenium testing (and microsoft) is concerned. So for example, specifying either of the following. desired_capabilities[ 'platform' ] = "Windows 2003" desired_capabilities[ 'platform' ] = "Windows XP" Will both results in an XP VM in Sauce Labs. Are you not seeing this behavior? or is there some other aspect of this function that is interrupting your testing? If so, can you elaborate as this is more or less a black box function of the plugin that, while syntactically confusing, is operating as intended and in our eyes not a bug. Cheers, Andrew
          Hide
          elgalu Leo Gallucci added a comment -

          Works

          Show
          elgalu Leo Gallucci added a comment - Works

            People

            Assignee:
            thecampbellcash Andrew Campbell
            Reporter:
            elgalu Leo Gallucci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: