Sha256: ab4277fe0477b86e5b99d7e1a68ba5d363766f798365ff7a4da31d3a741fedd2

Contents?: true

Size: 1.91 KB

Versions: 17

Compression:

Stored size: 1.91 KB

Contents

// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`AccountList actions should fetchAccountsStatus 1`] = `
Array [
  Array [
    Object {
      "payload": Object {
        "accounts": Object {
          "Account1": Object {
            "generate_report_status": "running",
            "label": "test_org1",
            "upload_report_status": "running",
          },
          "Account2": Object {
            "generate_report_status": "failure",
            "label": "test_org2",
            "upload_report_status": "unknown",
          },
          "Account3": Object {
            "generate_report_status": "running",
            "label": "test_org3",
            "upload_report_status": "success",
          },
        },
        "autoUploadEnabled": true,
        "cloudToken": "some-cloud-token",
        "excludePackages": false,
        "hostObfuscationEnabled": true,
        "ipsObfuscationEnabled": true,
      },
      "type": "INVENTORY_ACCOUNT_STATUS_POLLING",
    },
  ],
]
`;

exports[`AccountList actions should invoke toast notification upon failure 1`] = `
Array [
  Array [
    Object {
      "payload": Object {
        "message": Object {
          "message": "test error",
          "sticky": true,
          "type": "error",
        },
      },
      "type": "TOASTS_ADD",
    },
  ],
]
`;

exports[`AccountList actions should restartProcess 1`] = `
Array [
  Array [
    Object {
      "payload": Object {
        "accountID": "some-account-ID",
        "processStatusName": "generate_report_status",
      },
      "type": "INVENTORY_PROCESS_RESTART",
    },
  ],
]
`;

exports[`AccountList actions should startAccountStatusPolling 1`] = `
Object {
  "payload": Object {
    "pollingProcessID": 0,
  },
  "type": "INVENTORY_ACCOUNT_STATUS_POLLING_START",
}
`;

exports[`AccountList actions should stopAccountStatusPolling 1`] = `
Array [
  Array [
    Object {
      "type": "INVENTORY_ACCOUNT_STATUS_POLLING_STOP",
    },
  ],
]
`;

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
foreman_rh_cloud-1.0.17 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-2.0.17 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-2.0.16 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-1.0.16 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-1.0.15 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-2.0.15 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.15 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.14 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-2.0.14 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-1.0.14 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-0.9.14 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-0.9.13.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-1.0.13.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-2.0.13.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-0.9.13 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-1.0.13 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-2.0.13 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap