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-4.0.27 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.26 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-4.0.26 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-4.0.25.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.25 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-4.0.25 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.24.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-4.0.24.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.24 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-4.0.24 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.23 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-4.0.23 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.22 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-4.0.22 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-4.0.21.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.21.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.21 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.20 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.19 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-3.0.18.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap