Sha256: deee24bc24d452fc7f471e40663b4e062fd12020e72970be05d152799edbc875

Contents?: true

Size: 1.26 KB

Versions: 63

Compression:

Stored size: 1.26 KB

Contents

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

exports[`task actions can poll a task 1`] = `
Object {
  "interval": 5000,
  "payload": Object {
    "handleSuccess": undefined,
    "key": "TEST_POLL_TASK",
    "url": "/foreman_tasks/api/tasks/12345",
  },
  "type": "API_GET",
}
`;

exports[`task actions can search tasks 1`] = `
Object {
  "interval": 5000,
  "payload": Object {
    "key": "TEST_TASK_SEARCH",
    "params": Object {
      "search": "",
    },
    "url": "/foreman_tasks/api/tasks",
  },
  "type": "API_GET",
}
`;

exports[`task actions can stop polling a task 1`] = `
Object {
  "key": "TEST_POLL_TASK",
  "type": "STOP_INTERVAL",
}
`;

exports[`task actions can stop searching tasks 1`] = `
Object {
  "key": "TEST_TASK_SEARCH",
  "type": "STOP_INTERVAL",
}
`;

exports[`task actions can toast a finished task 1`] = `
Array [
  Array [
    Object {
      "payload": Object {
        "key": "addToast",
        "toast": Object {
          "link": Object {
            "children": "Go to task page",
            "href": "/foreman_tasks/tasks/eb1b6271-8a69-4d98-84fc-bea06ddcc166/",
          },
          "message": "Task Refresh Manifest completed with a result of pending.
  ",
          "type": "pending",
        },
      },
      "type": "toasts/addToast",
    },
  ],
]
`;

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
katello-4.7.1 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.6.2.1 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.6.2 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.7.0 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.6.1 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.7.0.rc2 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.7.0.rc1 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.4.2.2 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.4.2.1 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.4.2 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.5.1 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.6.0 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.6.0.rc2 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.6.0.rc1 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.5.0 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.5.0.rc2 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.4.1 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.5.0.rc1 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.4.0.2 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-4.4.0.1 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap