Sha256: ce23c6ac3affc9036b5f953645629aee2b05a0b73279fac8fb568a08d15be52d

Contents?: true

Size: 1.2 KB

Versions: 68

Compression:

Stored size: 1.2 KB

Contents

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

exports[`task actions can poll a task 1`] = `
Object {
  "interval": 5000,
  "payload": Object {
    "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 {
        "message": 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_ADD",
    },
  ],
]
`;

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
katello-3.16.0.rc4.1 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-3.16.0.rc4 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-3.16.0.rc3.1 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-3.16.0.rc3 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-3.16.0.rc2.1 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-3.16.0.rc2 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-3.16.0.rc1.1 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap
katello-3.16.0.rc1 webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap