Sha256: 76570a98b479795349d79e31b63e184e0a0bdf4c1acc344e66608b6a153b80cb

Contents?: true

Size: 1.29 KB

Versions: 73

Compression:

Stored size: 1.29 KB

Contents

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

exports[`SyncButton integration test Successful task was triggered on the server resulting in an info toast and polling on the task: handleSync was called 1`] = `
Array [
  Array [
    Object {
      "payload": Object {
        "message": Object {
          "message": <Toast
            disconnectHosts={2}
            syncHosts={0}
          />,
          "sticky": true,
          "type": "success",
        },
      },
      "type": "TOASTS_ADD",
    },
  ],
  Array [
    Object {
      "errorToast": [Function],
      "interval": 3000,
      "type": "API_GET",
      "url": "/foreman_tasks/api/tasks/1/details?include_permissions",
    },
  ],
  Array [
    Object {
      "payload": Object {
        "message": Object {
          "message": <span>
            Inventory sync has started:
            <br />
            <a
              href="/foreman_tasks/tasks/1"
              rel="noopener noreferrer"
              target="_blank"
            >
              view the task page for more details
            </a>
          </span>,
          "type": "info",
        },
      },
      "type": "TOASTS_ADD",
    },
  ],
  Array [
    Object {
      "errorToast": [Function],
      "type": "API_POST",
      "url": "/foreman_inventory_upload/tasks",
    },
  ],
]
`;

Version data entries

73 entries across 73 versions & 1 rubygems

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