Skip to content

Add device model validation for planning-layer-device associations #4232

Add device model validation for planning-layer-device associations

Add device model validation for planning-layer-device associations #4232

Re-run triggered January 31, 2026 17:10
Status Failure
Total duration 2m 29s
Artifacts 1

ci-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Unit tests
Process completed with exit code 1.
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/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/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#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#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#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/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/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.Crosscutting/PredicateBuilder.cs#L16
In externally visible method 'Expression<Func<T, bool>> PredicateBuilder.And<T>(Expression<Func<T, bool>> expr1, Expression<Func<T, bool>> expr2)', validate parameter 'expr1' 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)

Artifacts

Produced during runtime
Name Size Digest
test-results Expired
978 KB
sha256:17ef1bd05bb242d3f9f1c7e54a53d02a9e5840c272aa5698271c045c6da23c86