Skip to content

Commit

Permalink
Switched to "main" branch for GitHub Action
Browse files Browse the repository at this point in the history
Turned off custom timeouts for Playwright
  • Loading branch information
PiotrKarczmarz committed Sep 27, 2024
1 parent 0d48a20 commit 7b34be2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cake-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

on:
push:
branches: [ piotr/ci-ui-tests-access-token ]
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
Expand Down
6 changes: 3 additions & 3 deletions src/Cody.VisualStudio.Tests/PlaywrightTestsBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ private async Task InitializeAsync()
Context = Browser.Contexts[0];
Page = Context.Pages[0];

var playwrightTimeout = (float)TimeSpan.FromMinutes(5).TotalMilliseconds;
Page.SetDefaultNavigationTimeout(playwrightTimeout);
Page.SetDefaultTimeout(playwrightTimeout);
//var playwrightTimeout = (float)TimeSpan.FromMinutes(3).TotalMilliseconds;
//Page.SetDefaultNavigationTimeout(playwrightTimeout);
//Page.SetDefaultTimeout(playwrightTimeout);

_isInitialized = true;
}
Expand Down

0 comments on commit 7b34be2

Please sign in to comment.