Skip to content

Commit

Permalink
Merge pull request #8 from lanedirt/7-fix-unsafe-ports-bug-when-runni…
Browse files Browse the repository at this point in the history
…ng-playwright-tests

Update PlaywrightTest.cs
  • Loading branch information
lanedirt authored Jun 10, 2024
2 parents 81163bf + 09e73fd commit 12dd33c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tests/AliasVault.E2ETests/PlaywrightTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public async Task OneTimeSetUp()
{
_webAppManager = new WebAppManager();

// Determine random port for the WebAPI between 5000-5500
apiPort = new Random().Next(5000, 5500);
// Determine random port for the WebAPI between 5100-5900
apiPort = new Random().Next(5100, 5900);
// Determine random port for the BlazorWasm which is apiPort + 1
appPort = apiPort + 1;
// Update base URL
Expand Down

0 comments on commit 12dd33c

Please sign in to comment.