Sha256: 2d8f1f9d43a931fd01789a31bd838c7c9240ae291662b91abbb7d6aa15662d17

Contents?: true

Size: 1.75 KB

Versions: 3

Compression:

Stored size: 1.75 KB

Contents

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

exports[`ActionButton snapshot test render with cancellable false props 1`] = `
<span
  title="Task cannot be canceled"
>
  <ActionButtons
    buttons={
      Array [
        Object {
          "action": Object {
            "disabled": true,
            "id": "task-cancel-button-id",
            "onClick": [Function],
          },
          "title": "Cancel",
        },
      ]
    }
  />
</span>
`;

exports[`ActionButton snapshot test render with cancellable true props 1`] = `
<span>
  <ActionButtons
    buttons={
      Array [
        Object {
          "action": Object {
            "disabled": false,
            "id": "task-cancel-button-id",
            "onClick": [Function],
          },
          "title": "Cancel",
        },
      ]
    }
  />
</span>
`;

exports[`ActionButton snapshot test render with resumable true props 1`] = `
<span>
  <ActionButtons
    buttons={
      Array [
        Object {
          "action": Object {
            "disabled": false,
            "id": "task-resume-button-id",
            "onClick": [Function],
          },
          "title": "Resume",
        },
      ]
    }
  />
</span>
`;

exports[`ActionButton snapshot test render with stoppable and cancellable true props 1`] = `
<span>
  <ActionButtons
    buttons={
      Array [
        Object {
          "action": Object {
            "disabled": false,
            "id": "task-cancel-button-id",
            "onClick": [Function],
          },
          "title": "Cancel",
        },
        Object {
          "action": Object {
            "disabled": false,
            "id": "task-force-cancel-button-id",
            "onClick": [Function],
          },
          "title": "Force Cancel",
        },
      ]
    }
  />
</span>
`;

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman-tasks-2.0.1 webpack/ForemanTasks/Components/common/ActionButtons/__snapshots__/ActionButton.test.js.snap
foreman-tasks-2.0.0 webpack/ForemanTasks/Components/common/ActionButtons/__snapshots__/ActionButton.test.js.snap
foreman-tasks-1.2.0 webpack/ForemanTasks/Components/common/ActionButtons/__snapshots__/ActionButton.test.js.snap