YAML File

In order to integrate Testim with Circle CI, using Circle CI's local Selenium Grid, you need to add these lines to your circle.yaml file:

YAML

machine:
  node:
    version: 6.9.5

dependencies:
  pre:
    - npm install -g @testim/testim-cli
test:
  pre:
    - mkdir -p $CIRCLE_TEST_REPORTS/testim/
  override:
    - testim --project "<PROJECT ID>" --label "<LABEL>" --grid "<Your grid name>" --token "<TOKEN>" --report-file $CIRCLE_TEST_REPORTS/testim/results.xml


Note:  For the grid name, read here how to set up your grid.

Did this answer your question?