Sha256: fb4151705203a63f4840c672c0f35870721cbfd879e9c23e5408d057025335fa

Contents?: true

Size: 1.29 KB

Versions: 5

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_inventory_upload/tasks/1",
    },
  ],
  Array [
    Object {
      "payload": Object {
        "message": Object {
          "message": <span>
            Inventory sync has started:
             
            <a
              href="/foreman_tasks/tasks/1"
              rel="noopener noreferrer"
              target="_blank"
            >
              view the task page for more details
            </a>
          </span>,
          "sticky": false,
          "type": "info",
        },
      },
      "type": "TOASTS_ADD",
    },
  ],
  Array [
    Object {
      "errorToast": [Function],
      "type": "API_POST",
      "url": "/foreman_inventory_upload/tasks",
    },
  ],
]
`;

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_rh_cloud-4.0.21.1 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/integrations.test.js.snap
foreman_rh_cloud-3.0.21.1 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/integrations.test.js.snap
foreman_rh_cloud-3.0.21 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/integrations.test.js.snap
foreman_rh_cloud-3.0.20 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/integrations.test.js.snap
foreman_rh_cloud-3.0.19 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/integrations.test.js.snap