Skip to content

Commit 64295de

Browse files
committed
Rebooted expectedTestOutcome filename convention
1 parent 993fefa commit 64295de

7 files changed

+4
-4
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6.26 KB
Loading
6.34 KB
Loading

PuppeteerSharp.RendererTests/RendererTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public class RendererTests
1414
public async Task ShouldConvertHtmlToPdf(string testFileName)
1515
{
1616
var sourceHtmlFilePath = $"../../../TestInput/{testFileName}";
17-
var actualFilePath = Path.Combine(Path.GetTempPath(), $"Actual{testFileName}.pdf");
18-
var expectReferenceFilePath = $"../../../ExpectedTestOutcome/ExpectedFromHtml{testFileName}.png";
17+
var actualFilePath = Path.Combine(Path.GetTempPath(), $"ActualConvertHtmlToPdf{testFileName}.pdf");
18+
var expectReferenceFilePath = $"../../../ExpectedTestOutcome/ExpectedFromHtmlConvertHtmlToPdf{testFileName}.png";
1919

2020
if (File.Exists(actualFilePath))
2121
{
@@ -39,8 +39,8 @@ public async Task ShouldConvertHtmlToPdf(string testFileName)
3939
public async Task ShouldConvertHtmlToPng(string testFileName)
4040
{
4141
var sourceHtmlFilePath = $"../../../TestInput/{testFileName}";
42-
var actualFilePath = Path.Combine(Path.GetTempPath(), $"Actual{testFileName}.png");
43-
var expectReferenceFilePath = $"../../../ExpectedTestOutcome/Expected{testFileName}.png";
42+
var actualFilePath = Path.Combine(Path.GetTempPath(), $"ActualConvertHtmlToPng{testFileName}.png");
43+
var expectReferenceFilePath = $"../../../ExpectedTestOutcome/ExpectedConvertHtmlToPng{testFileName}.png";
4444

4545
if (File.Exists(actualFilePath))
4646
{

0 commit comments

Comments
 (0)