Sha256: cd9f071b3373ac551af09c1ccf88c06835a17059538116d9a3dae14537bd10b8

Contents?: true

Size: 749 Bytes

Versions: 23

Compression:

Stored size: 749 Bytes

Contents

import { testComponentSnapshotsWithFixtures } from '@theforeman/test';

import EntriesFilter from './EntriesFilter';

const onFilterValueChange = () => {};
const onFilterTypeChange = () => {};

const fixtures = {
  'should render for title filter': {
    onFilterTypeChange,
    onFilterValueChange,
    filterType: 'title',
    filterValue: 'version',
  },
  'should render for severity filter': {
    onFilterTypeChange,
    onFilterValueChange,
    filterType: 'severity',
    filterValue: 'low',
  },
  'should render for host filter': {
    onFilterTypeChange,
    onFilterValueChange,
    filterType: 'hostname',
    filterValue: 'foo',
  },
};

describe('EntriresFilter', () =>
  testComponentSnapshotsWithFixtures(EntriesFilter, fixtures));

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
foreman_leapp-2.0.1 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-2.0.0 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-1.2.1 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-1.2.0 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-0.1.15 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-1.1.1 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-1.1.0 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-1.0.0 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-0.1.14 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-0.1.13 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-0.1.12 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-0.1.11 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-0.1.10 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-0.1.9 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-0.1.8 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-0.1.7 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-0.1.6 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-0.1.5 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-0.1.4 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-0.1.3 webpack/components/PreupgradeReports/components/EntriesFilter.test.js