-
-
Notifications
You must be signed in to change notification settings - Fork 720
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for attachment meta steps (via #2107)
- Loading branch information
Showing
2 changed files
with
30 additions
and
15 deletions.
There are no files selected for viewing
36 changes: 21 additions & 15 deletions
36
allure-generator/src/main/javascript/components/testresult-execution/steps-list.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,29 @@ | ||
{{#each steps}} | ||
<div class="step"> | ||
{{#if attachmentStep}} | ||
{{#each attachments}} | ||
{{> ../../blocks/attachment-row/attachment-row . baseUrl=../../baseUrl}} | ||
{{/each}} | ||
{{else}} | ||
<div class="{{b "step" "title" hasContent=hasContent}} long-line"> | ||
{{#if hasContent}} | ||
<span class="step__arrow block__arrow">{{arrow status}}</span> | ||
{{else}} | ||
<span class="step__status">{{allure-icon status}}</span> | ||
{{/if}} | ||
<div class="step__name">{{text-with-links name}}</div> | ||
{{> ../../blocks/step-stats/step-stats . baseUrl=../../baseUrl}} | ||
{{#if hasContent}} | ||
<span class="step__arrow block__arrow">{{arrow status}}</span> | ||
{{else}} | ||
<span class="step__status">{{allure-icon status}}</span> | ||
{{/if}} | ||
<div class="step__name">{{text-with-links name}}</div> | ||
{{> ../../blocks/step-stats/step-stats . baseUrl=../../baseUrl}} | ||
</div> | ||
<div class="step__content"> | ||
{{> ../../blocks/parameters-table/parameters-table parameters=parameters }} | ||
{{~> steps-list steps=steps baseUrl=../baseUrl}} | ||
{{#each attachments}} | ||
{{> ../../blocks/attachment-row/attachment-row . baseUrl=../../baseUrl}} | ||
{{/each}} | ||
{{#if shouldDisplayMessage}} | ||
{{~> ../../blocks/status-details/status-details .}} | ||
{{/if}} | ||
{{> ../../blocks/parameters-table/parameters-table parameters=parameters }} | ||
{{~> steps-list steps=steps baseUrl=../baseUrl}} | ||
{{#each attachments}} | ||
{{> ../../blocks/attachment-row/attachment-row . baseUrl=../../baseUrl}} | ||
{{/each}} | ||
{{#if shouldDisplayMessage}} | ||
{{~> ../../blocks/status-details/status-details .}} | ||
{{/if}} | ||
</div> | ||
{{/if}} | ||
</div> | ||
{{/each}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters