discoveryTests:
  - inputPath: testdata/cronjob.yaml
    result:
      - name: create-job
        displayName: 'Create Job'
        iconClass: 'fa fa-fw fa-plus'
      - name: suspend
        iconClass: 'fa fa-fw fa-pause'
  - inputPath: testdata/cronjob-resumed.yaml
    result:
      - name: create-job
        displayName: 'Create Job'
        iconClass: 'fa fa-fw fa-plus'
      - name: suspend
        iconClass: 'fa fa-fw fa-pause'
  - inputPath: testdata/cronjob-suspended.yaml
    result:
      - name: create-job
        displayName: 'Create Job'
        iconClass: 'fa fa-fw fa-plus'
      - name: resume
        iconClass: 'fa fa-fw fa-play'

actionTests:
  - action: create-job
    inputPath: testdata/cronjob.yaml
    expectedOutputPath: testdata/job.yaml
  - action: suspend
    inputPath: testdata/cronjob.yaml
    expectedOutputPath: testdata/cronjob-suspended.yaml
  - action: resume
    inputPath: testdata/cronjob-suspended.yaml
    expectedOutputPath: testdata/cronjob-resumed.yaml
