version: 0.1
globalTimeout: 90
testSuiteTimeout: 90
testSuiteStep: 90

#runson can be linux, mac, win
runson: linux

autosplit: true

concurrency: 2

tunnel: false

pre:
  - npm install
  - npx playwright install --with-deps

runtime:
  language: node
  version: '18'

cacheKey: '{{ checksum "package-lock.json" }}'

cacheDirectories:
  - node_modules

testDiscovery:
  type: raw
  mode: static
  command: find ./tests -type f -name "*.spec.js" | sort

testRunnerCommand: npx playwright test $test --config=./playwright.config.js

jobLabel: ['playwright', 'vanilla-js', 'linux', 'autosplit']
