Sha256: 92c68cd5f840edc10331f07091b3ffe279d05d4a0e43a24a13147aa71aa2a3e4

Contents?: true

Size: 819 Bytes

Versions: 7

Compression:

Stored size: 819 Bytes

Contents

import { testComponentSnapshotsWithFixtures } from '@theforeman/test';
import ImportRolesAndVariablesTable from '../AnsibleRolesAndVariables';

const rowsData = [
  {
    cells: [
      'bennojoy.ntp',
      'Update Role Variables',
      'Add: 1 Remove: 2 ',
      '',
      '',
    ],
    kind: 'old',
    id: 'bennojoy.ntp',
  },
  {
    cells: ['0ta2.git_role', 'Import Role ', 'Add: 5 ', '', ''],
    kind: 'new',
    id: '0ta2.git_role',
  },
];

const columnsData = [
  { title: 'Name' },
  { title: 'Operation' },
  { title: 'Variables' },
  { title: 'Hosts Count' },
  { title: 'Hostgroups count' },
];

const fixtures = {
  'should render': {
    rowsData,
    columnsData,
  },
};

describe('ImportRolesAndVariablesTable', () =>
  testComponentSnapshotsWithFixtures(ImportRolesAndVariablesTable, fixtures));

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
foreman_ansible-6.3.4 webpack/components/AnsibleRolesAndVariables/__test__/AnsibleRolesAndVariablesImport.test.js
foreman_ansible-6.3.3 webpack/components/AnsibleRolesAndVariables/__test__/AnsibleRolesAndVariablesImport.test.js
foreman_ansible-6.3.2 webpack/components/AnsibleRolesAndVariables/__test__/AnsibleRolesAndVariablesImport.test.js
foreman_ansible-6.3.1 webpack/components/AnsibleRolesAndVariables/__test__/AnsibleRolesAndVariablesImport.test.js
foreman_ansible-6.4.1 webpack/components/AnsibleRolesAndVariables/__test__/AnsibleRolesAndVariablesImport.test.js
foreman_ansible-6.4.0 webpack/components/AnsibleRolesAndVariables/__test__/AnsibleRolesAndVariablesImport.test.js
foreman_ansible-6.3.0 webpack/components/AnsibleRolesAndVariables/__test__/AnsibleRolesAndVariablesImport.test.js