Skip to content

Commit

Permalink
chore(deps): update dependency microsoft.playwright to v1.45.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jul 15, 2024
1 parent cc5d5b9 commit 259fa50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ScreenshotCreator.Logic/ScreenshotCreator.Logic.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ItemGroup>
<PackageReference Include="Magick.NET-Q16-AnyCPU" Version="13.9.1"/>
<PackageReference Include="Microsoft.Bcl.TimeProvider" Version="8.0.1"/>
<PackageReference Include="Microsoft.Playwright" Version="1.41.2"/>
<PackageReference Include="Microsoft.Playwright" Version="1.45.0"/>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1"/>
<PackageReference Include="Microsoft.Extensions.Options" Version="8.0.2"/>
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions tests/Tests/System/SystemTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public async Task CreateImageNowForOpenHabAndScreenshotCreatorBothRunningInDocke
result.Should().HaveStatusCode(HttpStatusCode.OK);
result.Content.Headers.ContentType.Should().NotBeNull();
result.Content.Headers.ContentType!.MediaType.Should().Be("image/png");
(await result.Content.ReadAsByteArrayAsync()).Length.Should().BeInRange(10000, 15000);
(await result.Content.ReadAsByteArrayAsync()).Length.Should().BeInRange(9000, 15000);
logValues.Stdout.Should().NotContain("warn:");
}

Expand Down Expand Up @@ -95,4 +95,4 @@ private static IContainer BuildScreenshotCreatorContainer(INetwork network) =>

private static Uri GetScreenshotCreatorBaseAddress(IContainer screenshotCreatorContainer) =>
new($"http://{screenshotCreatorContainer.Hostname}:{screenshotCreatorContainer.GetMappedPublicPort(8080)}/screenshotCreator");
}
}

0 comments on commit 259fa50

Please sign in to comment.