diff --git a/tests/test_plot/test_print_pcb.py b/tests/test_plot/test_print_pcb.py index 08ca97fc..1da77eb5 100644 --- a/tests/test_plot/test_print_pcb.py +++ b/tests/test_plot/test_print_pcb.py @@ -96,3 +96,10 @@ def test_print_wrong_paste(test_dir): ctx.expect_out_file(fname) ctx.search_err(r'Pad with solder paste, but no copper') ctx.clean_up() + + +def test_pcb_print_simple_1(test_dir): + prj = 'light_control' + ctx = context.TestContext(test_dir, 'test_pcb_print_simple_1', prj, 'pcb_print_2', '') + ctx.run() + ctx.expect_out_file(prj+'-assembly_page_01.png') diff --git a/tests/yaml_samples/pcb_print_2.kibot.yaml b/tests/yaml_samples/pcb_print_2.kibot.yaml index 99f55b42..3c8e5fc4 100644 --- a/tests/yaml_samples/pcb_print_2.kibot.yaml +++ b/tests/yaml_samples/pcb_print_2.kibot.yaml @@ -6,7 +6,6 @@ outputs: - name: 'print_front' comment: "Experiment" type: pcb_print - dir: Layers options: # title: 'Fake title for front copper and silk' # color_theme: _builtin_default @@ -14,10 +13,16 @@ outputs: title: Chau plot_sheet_reference: true sheet_reference_layout: '${KIPRJMOD}/../../data/test_img.kicad_wks' - format: 'PDF' + format: 'PNG' keep_temporal_files: true + scaling: 2 # enable_ki6_frame_fix: true + add_background: true + background_image: "tests/data/confidential_optimized.svg" pages: - layers: + - layer: F.Cu + - layer: F.Mask + color: '#14332440' - layer: Edge.Cuts color: "#004040"