Sha256: d05538a73b5f68fdf5df2ee816c4f9df1b9152ec25398036923bd4370f788ada
Contents?: true
Size: 1.12 KB
Versions: 70
Compression:
Stored size: 1.12 KB
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; import Errors from '../Errors'; const fixtures = { 'render without Props': {}, 'render with Props': { executionPlan: { state: 'paused', cancellable: false, }, failedSteps: [ { error: { exception_class: 'RuntimeError', message: 'Action Actions::Katello::EventQueue::Monitor is already active', backtrace: [ "/home/vagrant/.gem/ruby/gems/dynflow-1.2.3/lib/dynflow/action/singleton.rb:15:in `rescue in singleton_lock!'", "/home/vagrant/.gem/ruby/gems/dynflow-1.2.3/lib/dynflow/action/singleton.rb:12:in `singleton_lock!'", ], }, action_class: 'Actions::Katello::EventQueue::Monitor', state: 'error', input: '{"locale"=>"en",\n "current_request_id"=>nil,\n "current_user_id"=>4,\n "current_organization_id"=>nil,\n "current_location_id"=>nil}\n', output: '{}\n', }, ], }, }; describe('Errors', () => { describe('rendering', () => testComponentSnapshotsWithFixtures(Errors, fixtures)); });
Version data entries
70 entries across 70 versions & 1 rubygems