Skip to content

feat: add support for xUnit.v3 #1192

feat: add support for xUnit.v3

feat: add support for xUnit.v3 #1192

Triggered via pull request January 24, 2025 16:06
Status Failure
Total duration 1m 9s
Artifacts

tests_harness.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
Test: src/Playwright.TestingHarnessTest/ExampleTests.cs#L3
The type or namespace name 'TestAdapter' does not exist in the namespace 'Microsoft.Playwright' (are you missing an assembly reference?)
Test: src/Playwright.TestingHarnessTest/ExampleTests.cs#L4
The type or namespace name 'Xunit' does not exist in the namespace 'Microsoft.Playwright' (are you missing an assembly reference?)
Test: src/Playwright.TestingHarnessTest/ExampleTests.cs#L6
The type or namespace name 'Xunit' could not be found (are you missing a using directive or an assembly reference?)
Test: src/Playwright.TestingHarnessTest/ExampleTests.cs#L7
The type or namespace name 'Xunit' could not be found (are you missing a using directive or an assembly reference?)
Test: src/Playwright.TestingHarnessTest/ExampleTests.cs#L8
The type or namespace name 'Xunit' could not be found (are you missing a using directive or an assembly reference?)
Test: src/Playwright.TestingHarnessTest/ExampleTests.cs#L12
The type or namespace name 'PageTest' could not be found (are you missing a using directive or an assembly reference?)
Test: src/Playwright.TestingHarnessTest/ExampleTests.cs#L14
The type or namespace name 'ITestOutputHelper' could not be found (are you missing a using directive or an assembly reference?)
Test: src/Playwright.TestingHarnessTest/ExampleTests.cs#L16
The type or namespace name 'ITestOutputHelper' could not be found (are you missing a using directive or an assembly reference?)
Test: src/Playwright.TestingHarnessTest/ExampleTests.cs#L21
The type or namespace name 'FactAttribute' could not be found (are you missing a using directive or an assembly reference?)
Test: src/Playwright.TestingHarnessTest/ExampleTests.cs#L21
The type or namespace name 'Fact' could not be found (are you missing a using directive or an assembly reference?)
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test: src/Playwright.Xunit.v3/MyStartupClass.cs#L14
Unreachable code detected
Test: src/Playwright.Xunit.v3/MyStartupClass.cs#L11
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Test: src/Playwright.Xunit.v3/MyStartupClass.cs#L19
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Test: src/Playwright.Tests/TestConstants.cs#L28
'TimeoutAttribute' is obsolete: '.NET No longer supports aborting threads as it is not a safe thing to do. Update your tests to use CancelAfterAttribute instead'
Test: src/Playwright.Xunit.v3/MyStartupClass.cs#L14
Unreachable code detected
Test: src/Playwright.Xunit.v3/MyStartupClass.cs#L11
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Test: src/Playwright.Xunit.v3/MyStartupClass.cs#L19
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Test: src/Playwright.Tests/TestConstants.cs#L28
'TimeoutAttribute' is obsolete: '.NET No longer supports aborting threads as it is not a safe thing to do. Update your tests to use CancelAfterAttribute instead'