Add screenshots to elements
This commit is contained in:
parent
c7c6023acf
commit
2293751fe2
18 changed files with 232 additions and 20 deletions
|
|
@ -30,6 +30,8 @@ h2 Testbericht
|
|||
h3 = "#{page.position} #{page.path}"
|
||||
- page.elements { |e| e.success_criteria.any? { _1.failed? } }.each do |element|
|
||||
h4 = "#{element.number} #{element.title}"
|
||||
= safe_display(element.screenshot) { image_tag(_1.representation(resize_to_fit: [250, 250]))}
|
||||
= element.description
|
||||
- element.success_criteria.select{ _1.failed? }.each do |sc|
|
||||
h5 = "#{sc.number} #{sc.title}"
|
||||
- if sc.test_comment?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue