Project

General

Profile

Actions

Tracker #37448

open

Add missing snapshots test for provisioning templates

Added by dosas please_edit_me 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

https://github.com/theforeman/foreman/tree/develop/app/views/unattended/provisioning_templates

The following .erb templates do not have a snapshot test:

comm -23 <(find app/views/unattended/provisioning_templates -name *.erb -printf "%P\n" | sort) <(grep ".erb" test/unit/foreman/renderer/snapshots.yaml | tr -d ' -' | sort)

bootdisk/generic_efi_host.erb
bootdisk/generic_host.erb
bootdisk/generic_static_host.erb
bootdisk/host.erb
discovery/debian_kexec.erb
discovery/redhat_kexec.erb
discovery/ubuntu_kexec.erb
finish/jumpstart_default_finish.erb
finish/windows_default_finish.erb
host_init_config/host_init_config_default.erb
iPXE/windows_default_ipxe.erb
iPXE/windows_default_ipxe_httpboot.erb
POAP/nx-os_default_poap_setup.erb
provision/kickstart_ovirt.erb
provision/windows_default_provisioning.erb
PXEGrub2/autoyast_default_pxegrub2.erb
PXEGrub/autoyast_default_pxegrub.erb
PXEGrub/jumpstart_default_pxegrub.erb
PXELinux/alterator_default_pxelinux.erb
PXELinux/kickstart_ovirt_pxelinux.erb
PXELinux/windows_default_pxelinux.erb
registration/global_registration.erb
registration/remote_execution_pull_setup.erb
script/grubby_default.erb
script/windows_default_script.erb
snippet/alterator_pkglist.erb
snippet/ansible_provisioning_callback.erb
snippet/blacklist_kernel_modules.erb
snippet/bmc_nic_setup.erb
snippet/built.erb
snippet/create_users.erb
snippet/csr_attributes.yaml.erb
snippet/disk_enc_clevis_tang.erb
snippet/efibootmgr_netboot.erb
snippet/eject_cdrom.erb
snippet/fips_packages.erb
snippet/http_proxy.erb
snippet/insights.erb
snippet/kickstart_ifcfg_bonded_interface.erb
snippet/kickstart_ifcfg_bond_interface.erb
snippet/kickstart_ifcfg_generic_interface.erb
snippet/kickstart_ifcfg_get_identifier_names.erb
snippet/kickstart_kernel_options.erb
snippet/kickstart_networking_setup.erb
snippet/kickstart_network_interface.erb
snippet/ntp.erb
snippet/pkg_manager.erb
snippet/preseed_autoinstall_clevis_tang_wrapper.erb
snippet/preseed_kernel_options.erb
snippet/preseed_netplan_generic_interface.erb
snippet/preseed_netplan_setup.erb
snippet/puppetlabs_repo.erb
snippet/pxegrub2_mac.erb
snippet/redhat_register.erb
snippet/schedule_reboot.erb
snippet/subscription_manager_setup.erb
snippet/windows_networking_snippet.erb
snippet/yum_proxy.erb
user_data/windows_default_user_data.erb


Related issues 2 (2 open0 closed)

Related to Foreman - Feature #37449: add snapshot tests for subscription_manager_setup.erbReady For TestingActions
Related to Foreman - Feature #37789: Add snapshot tests for global_registration.erbReady For TestingActions
Actions

Also available in: Atom PDF