title: Avoid one test out of multiple test files in firefox protractor
body: <p>I have multiple tests in my tests folder where the naming conventions for all the tests ends with spec.js. I am running all the tests from the Config file with */spec.js option.</p>
  
  <p>I want to skip running one test in FF as it is not supported in that browser. This is what I am attempting to do but it is not skipping that tests. Please advise.</p>
  
  <pre><code>multiCapabilities: [{
    'browserName': 'chrome',
    'chromeOptions' : {
      args: ['--window-size=900,900']
      // }
    },
  },
  
  {
    'browserName': 'firefox',
    'chromeOptions' : {
      args: ['--window-size=900,900']
      // }
    },
  }],
  
  specs: [
    '../tests/*.spec.js'
  ],
  </code></pre>
  
  <p>I have the following in my onPrepare function:</p>
  
  <pre><code>browser.getCapabilities().then(function (cap) {
      browser.browserName = cap.caps_.browserName;
  });
  </code></pre>
  
  <p>In one of the test file where I am looking to skip running this test in FF, I am doing this</p>
  
  <pre><code>if(browser.browserName=='firefox') { 
  console.log("firefox cannot run *** tests")
  
  } else { 
  
  blah... rest of the tests which I want to execute for Chrome and IE I have put it in this block}
  </code></pre>
  
  <p>But still the test which I wanted to skip running in FF still runs.</p>
  
  <p>Please advise.</p>