github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/notification.toolkit.fluxcd.io/Alert/actions/action_test.yaml (about)

     1  discoveryTests:
     2  - inputPath: testdata/initial_alert.yaml
     3    result:
     4      - name: suspend
     5        disabled: false
     6      - name: resume
     7        disabled: true
     8  - inputPath: testdata/suspended_alert.yaml
     9    result:
    10      - name: suspend
    11        disabled: true
    12      - name: resume
    13        disabled: false
    14  - inputPath: testdata/resumed_alert.yaml
    15    result:
    16      - name: suspend
    17        disabled: false
    18      - name: resume
    19        disabled: true
    20  actionTests:
    21  - action: suspend
    22    inputPath: testdata/initial_alert.yaml
    23    expectedOutputPath: testdata/suspended_alert.yaml
    24  - action: resume
    25    inputPath: testdata/suspended_alert.yaml
    26    expectedOutputPath: testdata/resumed_alert.yaml