Sha256: 0da122f9f18e283195ac0e6f4ee76c52325e43c309423e428205bcd75ba89212

Contents?: true

Size: 1.82 KB

Versions: 81

Compression:

Stored size: 1.82 KB

Contents

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

exports[`AccountList actions should fetchAccountsStatus 1`] = `
Array [
  Array [
    Object {
      "payload": Object {
        "CloudConnectorStatus": Object {
          "id": 7,
          "task": Object {
            "id": 11,
          },
        },
        "accounts": Object {
          "Account1": Object {
            "generate_report_status": "running",
            "id": 1,
            "upload_report_status": "running",
          },
          "Account2": Object {
            "generate_report_status": "failure",
            "id": 2,
            "upload_report_status": "unknown",
          },
          "Account3": Object {
            "generate_report_status": "running",
            "id": 3,
            "upload_report_status": "success",
          },
        },
      },
      "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

81 entries across 81 versions & 1 rubygems

Version Path
foreman_rh_cloud-5.0.39 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-5.0.38 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-4.0.35 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-5.0.37 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-5.0.36 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-5.0.35 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-5.0.34 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-5.0.33 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.32 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-4.0.32 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-5.0.32 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-4.0.31 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-5.0.31 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-5.0.30 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-4.0.30 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.29 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-4.0.29 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-5.0.29 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.28 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-5.0.28 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap