Skip to content

Commit 4c125ca

Browse files
committed
Fix x-unit collection
1 parent 33f3086 commit 4c125ca

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/E2E Tests/WebAppUiTests/B2CWebAppCallsWebApiLocally.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace WebAppUiTests
1818
#if !FROM_GITHUB_ACTION
1919
{
2020
// since these tests change environment variables we'd prefer it not run at the same time as other tests
21-
[CollectionDefinition(nameof(UiTestNoParallelization), DisableParallelization = true)]
21+
[Collection(nameof(UiTestNoParallelization))]
2222
public class B2CWebAppCallsWebApiLocally : IClassFixture<InstallPlaywrightBrowserFixture>
2323
{
2424
private const string KeyvaultEmailName = "IdWeb-B2C-user";

tests/E2E Tests/WebAppUiTests/TestingWebAppLocally.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace WebAppUiTests;
1818
#if !FROM_GITHUB_ACTION && !AZURE_DEVOPS_BUILD
1919

2020
// Since this test affects Kestrel environment variables it can cause a race condition when run in parallel with other UI tests.
21-
[CollectionDefinition(nameof(UiTestNoParallelization), DisableParallelization = true)]
21+
[Collection(nameof(UiTestNoParallelization))]
2222
public class TestingWebAppLocally : IClassFixture<InstallPlaywrightBrowserFixture>
2323
{
2424
private const string UrlString = "https://localhost:5001/MicrosoftIdentity/Account/signin";

tests/E2E Tests/WebAppUiTests/WebAppCallsApiCallsGraphLocally.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace WebAppUiTests
1818
#if !FROM_GITHUB_ACTION
1919
{
2020
// since these tests change environment variables we'd prefer it not run at the same time as other tests
21-
[CollectionDefinition(nameof(UiTestNoParallelization), DisableParallelization = true)]
21+
[Collection(nameof(UiTestNoParallelization))]
2222
public class WebAppCallsApiCallsGraphLocally : IClassFixture<InstallPlaywrightBrowserFixture>
2323
{
2424
private const uint GrpcPort = 5001;

0 commit comments

Comments
 (0)