I am using WebdriverIO to run my tests, however I can see a lot of tests getting cancelled

I am using WebdriverIO to run my tests, however I can see a lot of tests getting cancelled.

Sharing my config file here:

exports.config = {
  user: '*****',
  key: '*******',
  path: '/wd/hub',
  hostname: 'hub.lambdatest.com',
  port: 80,
  specs: ['e2e/specs/**/*.js'],
  exclude: [
    // 'path/to/excluded/files'
  ],
  specFileRetries: 0,
  maxInstances: 10,
  commonCapabilities: {
    build: 'DataCollector UI V2 - CI',
    name: 'Parallel Tests',
    video: true,
    network: false,
    console: false,
    visual: false,
    tunnel: true
  },
  capabilities: [
    {
      browserName: 'chrome',
      version: '86.0',
      platform: 'Windows 10'
    },
  ],
  framework: 'mocha',
  reporters: ['spec'],
  mochaOpts: {
    timeout: 10000,
  }

Hi Devan!

The tests usually get canceled when it is either stopped from the runner side OR the framework stops it due to timeout. Looking at the config file you shared, I can see under Mocha, the value for timeout is 10000

Kindly increase the value to a higher number, something as shown below:

framework: 'mocha',
reporters: ['spec'],
mochaOpts: {
timeout: 600000,
}