Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
felixcicatt committed Dec 19, 2024
1 parent 69b04e9 commit 24b6a18
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Kiss.Bff.EndToEndTest/Infrastructure/BaseTestInitializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,15 @@ await Context.Tracing.StopAsync(new()
});

var html = $"""
<p>Scenario: {TestContext.TestName}</p>
<a target="_blank" href="https://trace.playwright.dev/?trace=https://klantinteractie-servicesysteem.github.io/KISS-frontend/{fileName}">Playwright tracing</a>
<p>Steps:</p>
<ol>{string.Join("", _steps.Select(step => $"""
<li>{step}</li>
"""))}
</ol>
<div data-outcome="{TestContext.CurrentTestOutcome}">
<p>Scenario: {TestContext.TestName}</p>
<a target="_blank" href="https://trace.playwright.dev/?trace=https://klantinteractie-servicesysteem.github.io/KISS-frontend/{fileName}">Playwright tracing</a>
<p>Steps:</p>
<ol>{string.Join("", _steps.Select(step => $"""
<li>{step}</li>
"""))}
</ol>
</div>
""";

s_testsHtml.TryAdd(TestContext.TestName!, html);
Expand Down

0 comments on commit 24b6a18

Please sign in to comment.