Improve exports and GUI
Some checks failed
/ Run tests (push) Successful in 1m47s
/ Run system tests (push) Has been cancelled
/ Build, push and deploy image (push) Has been cancelled

This commit is contained in:
david 2024-11-17 13:44:51 +01:00
parent 0a48759576
commit fa1d5b8bce
13 changed files with 195 additions and 50 deletions

View file

@ -37,19 +37,26 @@ p Woher kommt dieser Text?
h2 2 Protokoll
- current_page_pos = 0
- current_abs_element_pos = 0
- @report.pages.select { |p| p.elements.any? { |e| e.success_criteria.any? { _1.failed? } } }.each do |page|
- current_page_pos += 1
- current_element_pos = 0
h3 = "2.#{current_page_pos} #{page.path}"
- current_abs_element_pos = 0
/h3 = "2.#{current_page_pos} #{page.path}"
- page.elements { |e| e.success_criteria.any? { _1.failed? } }.each do |element|
- current_element_pos += 1
- current_abs_element_pos += 1
- current_sc_pos = 0
h4 = "2.#{current_page_pos}.#{current_element_pos} #{element.title}"
/h4 = "2.#{current_page_pos}.#{current_element_pos} #{element.title}"
h3 = "2.#{current_abs_element_pos} #{element.title}"
p
strong Pfad:
span =< page.path
= safe_display(element.screenshot) { image_tag(_1.representation(resize_to_fit: [250, 250]))}
= element.description
- element.success_criteria.select{ _1.failed? }.each do |sc|
- current_sc_pos += 1
h5 = "2.#{current_page_pos}.#{current_element_pos}.#{current_sc_pos} #{sc.title}"
h4 = "2.#{current_abs_element_pos}.#{current_sc_pos} #{sc.title}"
- if sc.test_comment?
p = sc.test_comment
- safe_display(sc.quick_criterion) do