Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-4089

Skip unit/ui tests not related to current platform/arch

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major Major
    • 10.2.0.GA
    • 10.1.0.AM2
    • platform-installer
    • None
    • NEW

      Current UI tests are specific for windows. When installer supports Mac OS X there will be failures when UI tests are running on Mac. For example verification for Drive in selected path is valid only on Windows.

      this.skip() call does not work for protractor tests, because it still considered as a failure. Second option would be do not run tests that are not valid for current platform at all. That could be done ether by direct check in tests like

      if(process.platform === 'win32') {
        it('test desctription', function(){
          // test instructions
        });
      }
      

      or we can move platform specific tests in files with platform specific suffix and include them using process.platform and process.arch values at gulp execution time.

            nivologd@gmail.com Denis Golovin (Inactive)
            nivologd@gmail.com Denis Golovin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: