actionTests:
- action: pause
  inputPath: testdata/pipeline.yaml
  expectedOutputPath: testdata/pipeline-paused.yaml
- action: unpause
  inputPath: testdata/pipeline-paused.yaml
  expectedOutputPath: testdata/pipeline.yaml
- action: force-promote
  inputPath: testdata/pipeline.yaml
  expectedOutputPath: testdata/pipeline-force-promote.yaml

discoveryTests:
  - inputPath: testdata/pipeline.yaml
    result:
      - name: pause
        disabled: false
        iconClass: 'fa-solid fa-fw fa-pause'
      - name: unpause
        disabled: true
        iconClass: 'fa-solid fa-fw fa-play'
      - name: force-promote
        disabled: false
        iconClass: 'fa-solid fa-fw fa-forward'
  - inputPath: testdata/pipeline-paused.yaml
    result:
      - name: pause
        disabled: true
        iconClass: 'fa-solid fa-fw fa-pause'
      - name: unpause
        disabled: false
        iconClass: 'fa-solid fa-fw fa-play'
      - name: force-promote
        disabled: false
        iconClass: 'fa-solid fa-fw fa-forward'
