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-11.0.3 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-9.0.59 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-11.0.2 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-11.0.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-11.0.0 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-9.0.58 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-10.0.2 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-9.0.57 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-10.0.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-9.0.56 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-9.0.55 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-9.0.54 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-9.0.53 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-9.0.52 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-8.0.52 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-9.0.51 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-8.0.51 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-7.0.48 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-7.0.47 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
foreman_rh_cloud-8.0.50 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap