Skip to content

#3175 Moving usings to GlobalUsing.cs #4037

#3175 Moving usings to GlobalUsing.cs

#3175 Moving usings to GlobalUsing.cs #4037

Triggered via pull request October 11, 2024 17:00
Status Failure
Total duration 54s
Artifacts

ci-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 11 warnings
Unit tests: src/IoTHub.Portal.Shared/GlobalUsings.cs#L8
Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)
Unit tests: src/IoTHub.Portal.Shared/GlobalUsings.cs#L8
Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)
Unit tests
Process completed with exit code 1.
Unit tests: src/IoTHub.Portal.Tests.E2E/Pages/TagsConfigurationPage.cs#L8
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Unit tests: src/IoTHub.Portal.Tests.E2E/Pages/LoginPage.cs#L21
Modify 'LoginPage.LoginPage(IConfiguration)' to call 'INavigation.GoToUrl(Uri)' instead of 'INavigation.GoToUrl(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234)
Unit tests: src/IoTHub.Portal.Tests.E2E/Pages/DevicePage.cs#L15
In externally visible method 'DevicePage.DevicePage(IWebDriver driver, WebDriverWait wait)', validate parameter 'wait' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Unit tests: src/IoTHub.Portal.Tests.E2E/Pages/DevicePage.cs#L16
In externally visible method 'DevicePage.DevicePage(IWebDriver driver, WebDriverWait wait)', validate parameter 'driver' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Unit tests: src/IoTHub.Portal.Tests.E2E/Pages/LoginPage.cs#L19
In externally visible method 'LoginPage.LoginPage(IConfiguration configuration)', validate parameter 'configuration' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Unit tests: src/IoTHub.Portal.Tests.E2E/Pages/LoginPage.cs#L11
Member 'UsernameField' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Unit tests: src/IoTHub.Portal.Tests.E2E/Pages/LoginPage.cs#L12
Member 'PasswordField' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Unit tests: src/IoTHub.Portal.Tests.E2E/Pages/LoginPage.cs#L13
Member 'LoginButton' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Unit tests: src/IoTHub.Portal.Tests.E2E/Pages/TagsConfigurationPage.cs#L43
Member 'RemoveTag' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Unit tests: src/IoTHub.Portal.Tests.E2E/E2ETest.cs#L24
Member 'AddBorwserLogs' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Unit tests
No files were found with the provided path: src/IoTHub.Portal.Tests.Unit/TestResults. No artifacts will be uploaded.